Jump to content


Photo

Automatically close tray

tray

  • Please log in to reply
6 replies to this topic

#1 firewater

firewater

    Member

  • Members
  • PipPip
  • 11 posts

Posted 16 August 2014 - 07:36 AM

On the default explorer shell the tray box is closed when you click outside of it and I've been missing that feature on bblean.

 

Posted Image

 

I would like this to be done automatically when you click outside of that area.



#2 pitkon

pitkon

    Administrator

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

Posted 16 August 2014 - 09:38 AM

[font="arial, sans-serif;"]You can do it with BBinterface, of course :)[/font]

[font="arial, sans-serif;"]You will need two bbi elements - a frame that will contain all tray icons and a switch button that will control the tray frame. And you will need another plugin, bbtray. All of them are in our Downloads section.[/font]

 

[font="arial, sans-serif;"]1)[/font] Load bbi and ctrl+right click on the default frame. Go Interface Operations/Create New Control/Frame. If you want your trayframe on top of everything, including windows, leave it as it is. If not, ctrl+right click on the new frame and go Window Options. Uncheck always on top. Use ctrl+left click to move the frame to wherever you want it to be (I guess next to the toolbar) and alt+left click to size it. (Grab edges and drag),

[font="arial, sans-serif;"]2)[/font] Ctrl+Right click on the new frame and go Control Options/Control Name. Give the new frame a name i.e. TrayFrame. (Don't forget to save from time to time, Configuration/Save Configuration)

[font="arial, sans-serif;"]3)[/font] Ctrl+Right click on TrayFrame and go Control Options/Plugins. Find bbtray and load it. Tweak bbtray to your liking using its rc file (usually one row and one column, but you can play with various configurations). You can also set icon size, icon hue and saturation and style for the bbtray background (default is toolbar).

[font="arial, sans-serif;"]4) [/font]Ctrl+Right click on TrayFrame and go Interface Operations/Create New Control/Switch Button. If you want your SwitchButton on top of everything, including windows, leave it as it is. If not, ctrl+right click on the button and go Window Options. Uncheck always on top. Use ctrl+left click to move the button to wherever you want it to be (I guess next to the trayframe) and alt+left click to size it. (Grab edges and drag),

[font="arial, sans-serif;"]5) [/font]Ctrl+Right click on the switchbutton and go Control Options/Control Name. Give the button a name i.e. TrayFrameOn/Off.

[font="arial, sans-serif;"]6)[/font] Ctrl+Right click on the switchbutton and go Control Options/Caption. Give the button a caption i.e. Tray (This will remind you that this button controls the trayframe)

[font="arial, sans-serif;"]7)[/font] Ctrl+Right click on the switchbutton and go Control Options/Pressed/Blackbox Bro@m/Entry. Paste this:

[font="arial, sans-serif;"]@BBInterface Control SetWindowProperty TrayFrame IsVisible true[/font]

[font="arial, sans-serif;"]8)[/font] Ctrl+Right click on the switchbutton and go Control Options/UnPressed/Blackbox Bro@m/Entry. Paste this:

[font="arial, sans-serif;"]@BBInterface Control SetWindowProperty TrayFrame IsVisible false[/font]

[font="arial, sans-serif;"]MAKE SURE YOUR TRAY FRAME is CALLED TrayFrame, otherwise substitute with the name you have chosen, EXACTLY as you’ve typed it. Don’t substitute Capitals for Small letters, if you’ve used capitals, the commands are case sensitive.[/font]

 

[font="arial, sans-serif;"]That's it! Now each time you click on the switch button, the frame containing the tray icons will appear or disappear. You can turn off tray icons in your toolbar and you can delete the original, default frame. You can also add any icon or image to your TRAY switchbutton to make it look prettier, if you want to.[/font]


  • firewater likes this

#3 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 16 August 2014 - 07:35 PM

i was gonna do this with my own setup but when i try to load bbtray i get this 

Posted Image



#4 pitkon

pitkon

    Administrator

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

Posted 17 August 2014 - 06:19 AM

i was gonna do this with my own setup but when i try to load bbtray i get this 

Posted Image

Unfortunately, many of the old, 32-bit plugins don't work under a 64-bit environment. Sometimes it depends on the BB build, too: some do work with some builds. diabol promised to find a way to make all 32-bit plugins work for 64, let's keep our fingers crossed.

If everyone faces the same problem, I will propose a more complicated approach to the tray frame, using a second bbleanbar with tray icons on ONLY and a switch button to control it through bro@ms.



#5 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 17 August 2014 - 06:37 AM

i just wish there was a way to display tasks on in a bbinterface frame in a list fashion



#6 pitkon

pitkon

    Administrator

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

Posted 17 August 2014 - 06:44 AM

Well, this is rather complicated and includes replacing the programs' default icons with ones containing text like "AVG" or "Explorer" or whatever, something you can do with Axialis or some other icon app. Use transparent background for the new icons, where only the text is visible.

Then, you load bbtray on a frame and use a 1 column, 1 row configuration. Pick an Icon size of 34 or more.

Remember to save the original icons in case you want to revert.


  • Pico_No_Blackbox likes this

#7 diabol

diabol

    Lazyass

  • Validating
  • 236 posts

Posted 19 August 2014 - 01:17 PM

Posted as issue

https://github.com/x...ro450/issues/26


  • firewater likes this





Also tagged with one or more of these keywords: tray

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users