Jump to content


Photo

bbLean list all workspaces instead of just current


Best Answer pitkon , 09 August 2014 - 04:09 PM

Ctrl+right click, Global Options, uncheck Use Tooltip.

Go to the full post


  • Please log in to reply
36 replies to this topic

#21 darukun

darukun

    Member

  • Members
  • PipPip
  • 25 posts

Posted 09 August 2014 - 03:38 PM

Great.

5) bbinterface displays each element's name (and purpose) in a balloon tip, but you can turn tips off. If you want an added visual aid, leave tips on and go Control Options/Control Name. Type the name of the desktop there as well, or something similar, eg. Desktop One.

6) Ctrl+right click on the button and go Control Options/Mouse Down/Blackbox Bro@m.

Type or paste this: [color=#00ffff;][font="helvetica, verdana, sans-serif;background-color:rgb(0,0,0);"]@[/color][/font][color=rgb(0,255,255);][font="helvetica, verdana, sans-serif;background-color:rgb(0,0,0);"]BBCore.SwitchToWorkspace #n [/color][/font]where n the workspace's number.

You can add an image (icon, bitmap, whatever). If you want one, let me know.

7) Make the button as big or as small as you need using alt+left click.

8) Ctrl+right click on the button and go Interface Options/Clone this control. A new button appears on top of the old one. Ctrl+left click to drag it next to the first.

9) Edit button caption, button name and workspace number following the steps above.

10) Repeat the whole procedure to create a third button.

11) Save the whole thing as workspace.rc or whatever.

IF YOU DON'T WANT THE FRAME SHOWN (just the buttons).

1) Ctrl+right click on the frame and go Control Options/Lock Children.

2) Ctlr+right click on the frame and go Window Options/Style/None.

Now the buttons can be moved as one, but the frame will be invisible.

hi i got it thanks. took me a while to figure it out. everything works, except "@BBCore.SwitchToWorkspace #1". when I click on the button it doesn't go to workspace 1. see:

Posted Image



#22 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 09 August 2014 - 03:44 PM

Do the other workspaces work when clicking on them?



#23 darukun

darukun

    Member

  • Members
  • PipPip
  • 25 posts

Posted 09 August 2014 - 03:45 PM

Do the other workspaces work when clicking on them?

nope, neither does. using the same code in screenshot except with 1 replaced to 2 and 3



#24 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 09 August 2014 - 03:48 PM

Then something was mistyped. Care to PM me the script you saved?



#25 darukun

darukun

    Member

  • Members
  • PipPip
  • 25 posts

Posted 09 August 2014 - 03:54 PM

Then something was mistyped. Care to PM me the script you saved?

sent



#26 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 09 August 2014 - 04:01 PM

Read and replied. Clever thinking, but everything should work as programmed...



#27 darukun

darukun

    Member

  • Members
  • PipPip
  • 25 posts

Posted 09 August 2014 - 04:04 PM

Read and replied. Clever thinking, but everything should work as programmed...

one final question, how can I remove the info when i hover over it?



#28 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 09 August 2014 - 04:09 PM   Best Answer

Ctrl+right click, Global Options, uncheck Use Tooltip.



#29 darukun

darukun

    Member

  • Members
  • PipPip
  • 25 posts

Posted 09 August 2014 - 04:12 PM

Ctrl+right click, Global Options, uncheck Use Tooltip.

thanks again


  • pitkon likes this

#30 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 09 August 2014 - 04:15 PM

Anytime. Feel free to ask if you need anything more :)



#31 darukun

darukun

    Member

  • Members
  • PipPip
  • 25 posts

Posted 09 August 2014 - 04:35 PM

Anytime. Feel free to ask if you need anything more :)

alright one more lol, is it possible to highlight the current workspace with for example changing the color?



#32 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 10 August 2014 - 07:03 AM

alright one more lol, is it possible to highlight the current workspace with for example changing the color?

Yes, it is. You can use a different style for the pressed button: Window Options/Style When Pressed. You can pick one of the styles' existing colors (label, windowlabel, button etc.) or create your own (Window Options/Style When Pressed/Custom). You can also use a different image for the button when pressed. The drawback is the style will be displayed for as long as you press the button. If you want it on when pressed all the time, you have to edit the script manually and change all buttons to switchbuttons.



#33 phacrum

phacrum

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 20 November 2014 - 07:36 PM

hi i got it thanks. took me a while to figure it out. everything works, except "@BBCore.SwitchToWorkspace #1". when I click on the button it doesn't go to workspace 1

 

 

wonder how u got it working, got the same problem over here

also how can i disable on button when pressing another?

smth like 

if(@BBInterface Control SetControlProperty SwitchButton1 Pressed){	@BBInterface Control SetControlProperty SwitchButton2 Pressed false	@BBInterface Control SetControlProperty SwitchButton3 Pressed false}


#34 hal

hal

    Member

  • Members
  • PipPip
  • 11 posts

Posted 26 November 2014 - 01:16 AM

Just my two cents: It makes more sense to use plain buttons and a bro@ms "Script" to do this. I had just that setup for a while, but I became frustrated as you can't use hot keys to change workspace or your bbInterface display won't be accurate. Something like:  

@Script [@BBInterface Control SetWindowProperty Button1 Color "#FF0000"|@BBInterface Control SetWindowProperty Button2 Color "#FFFF00"|@BBInterface Control SetWindowProperty Button3 Color "#FFFF00"|@BBCore SwitchToWorkspace #1]

For each button

 

You could, theoretically, use hotkeys with that bro@ms; but you couldn't use the "switch to next workspace" bro@ms, you'd have to use explicit workspace #'s. That is one reason why we need a real scripting system for Windows blackbox distributions.



#35 Marzung

Marzung

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 02 January 2015 - 06:15 PM

Ive created the frame and buttons but whenever i click the button to change workspaces it gives me an error saying "unknown broadcast message: @BBCore.SwitchToWorkspace#1"

any help would be good thanks



#36 diabol

diabol

    Lazyass

  • Validating
  • 236 posts

Posted 02 January 2015 - 06:38 PM

hi i got it thanks. took me a while to figure it out. everything works, except "@BBCore.SwitchToWorkspace #1". when I click on the button it doesn't go to workspace 1. see:

 

 

Ive created the frame and buttons but whenever i click the button to change workspaces it gives me an error saying "unknown broadcast message: @BBCore.SwitchToWorkspace#1"

any help would be good thanks

 

That's because the bro@m is "@BBCore.SwitchToWorkspace 1".

There's a space between "Workspace" and "1" and it doesn't actually contain the # :)


  • pitkon likes this

#37 Marzung

Marzung

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 02 January 2015 - 06:58 PM

That's because the bro@m is "@BBCore.SwitchToWorkspace 1".

There's a space between "Workspace" and "1" and it doesn't actually contain the # :)

Ahhhh, that was stupid of me. Thank you for the help!


  • pitkon and diabol like this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users