JohnnyFoster.com logo Welcome to JohnnyFoster.com
 
Search JohnnyFoster.com using AtomZ
Send a private mail to JohnnyFoster
Downloads - BeTrayed!
Subscribe to the BeTrayed! RSS feed for news about BeTrayed!
 

 

BeTrayed! is a small 32 bit command line utility which allows you to easily add a collection of shortcuts to the System Tray (Notification Area in Microsoft speak) It allows you to quickly access frequently used folders, files, URLs and applications - even though they were never designed to be launched from the Tray.

For maximum flexibility, BeTrayed! functions in two modes, either single command mode or, more usually, in Batch mode where it adds multiple icons to the Tray, all managed by one instance of BeTrayed! - in both modes, you specify the command to launch and, optionally, the tooltip text to show and an alternative icon. If not specified, the tooptip defaults to the command line and the icon to the default icon contained in the file (or if there isn't one, the one for the associated application)

For instance, to add a single icon to the System Tray to launch Calc, you could use:

BeTrayed c:\windows\system32\calc.exe,Calculator

This would create a new Tray icon (with the default icon from Calc.exe), which would show a tooltip of 'Calculator'

In batch mode, the parameter passed to BeTrayed! is actually the name of a text file containing the individual command lines. To use Batch mode with BeTrayed!, simple pass BeTrayed! the name of the controlling text file, prefixed with "/batch:" ie.

BeTrayed /batch:Standard.tray

BeTrayed! would now look for a file called 'Standard.tray' - which would contain a list of appropriate commands, ie.

;Sample BeTrayed! batch mode control file
; Anything beginning with a semi-colon is a comment!
; Windows Calc using default Calc.exe icon
c:\windows\system32\calc.exe,Windows Calculator
; Users shared area via UNC path, using custom icon.
\\JBF\Data\Users\Shared,User Shared Area,sa.ico
; Launch URL with default browser (using 3rd icon in browser exe)
http://www.mycompanyintranet.com/PhoneDir.html,Contact List,3

From the above 'Standard.tray' file, three additional icons would be added to the System Tray, all managed by one instance of BeTrayed!

Please note that in order to use BeTrayed!, you must be using either Windows 2000 or XP and have theVB6 run-time libraries installed.

All content © Copyright 2004-2005 John Foster
Last Edited: December 12th, 2005 17:30 GMT - Optimized for at least 800x600

Hit counter