Best Answer pitkon , 09 August 2014 - 04:09 PM
Ctrl+right click, Global Options, uncheck Use Tooltip.
Go to the full postBest Answer pitkon , 09 August 2014 - 04:09 PM
Ctrl+right click, Global Options, uncheck Use Tooltip.
Go to the full postPosted 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 09 August 2014 - 03:44 PM
Do the other workspaces work when clicking on them?
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
Posted 09 August 2014 - 03:48 PM
Then something was mistyped. Care to PM me the script you saved?
Posted 09 August 2014 - 03:54 PM
Then something was mistyped. Care to PM me the script you saved?
sent
Posted 09 August 2014 - 04:01 PM
Read and replied. Clever thinking, but everything should work as programmed...
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?
Posted 09 August 2014 - 04:09 PM Best Answer
Ctrl+right click, Global Options, uncheck Use Tooltip.
Posted 09 August 2014 - 04:12 PM
Ctrl+right click, Global Options, uncheck Use Tooltip.
thanks again
Posted 09 August 2014 - 04:15 PM
Anytime. Feel free to ask if you need anything more
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?
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.
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}
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.
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
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 #
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!
0 members, 0 guests, 0 anonymous users