This one is another big step forward with the introduction of the "OfTheBay.OTB" file, that allows you to fully customize the dockbar.
OfTheBay.OTB is a plain ASCII text file that looks like this:
Code:
'+--------------------------------------------------------------------------+ '| Of The Bay | '| | '| User shorcut definition | '| | '+--------------------------------------------------------------------------+ '| | '| Author Patrice TERRIER | '| copyright(c) 2008 | '| www.zapsolution.com | '| [email protected] | '| | '+--------------------------------------------------------------------------+ '| Project started on : 11-20-2008 (MM-DD-YYYY) | '| Last revised : 11-20-2008 (MM-DD-YYYY) | '+--------------------------------------------------------------------------+ 'Use @[email protected] to match either the OfTheBay.EXE path or the ShellTo target path 'Icon: 'Use either 32x32 or larger (will be converted to 48x48) 'in case of 32x32 the program adds the active icon background else not. '"ShellTo, UseLabel, IconName, WorkDir, CmdLine" '"C:\travail\sdk\template\BassBox24\BassBox.exe, BassBox24, @[email protected]\Solid edge.png, @[email protected], " "C:\travail\sdk\template\BassBox24\BassBox.exe, BassBox24, @[email protected]\Woofer256x256.png, @[email protected], " "C:\travail\sdk\template\MovieBox2\MovieBox.exe, MovieBox, @[email protected]\MovieProjector.png, @[email protected], "
1 - "ShellTo" is the shorcut target.
2 - "UseLabel" is the name to display below the icon.
3 - "IconName" is the full path name to the image you want to use as icon (any supported graphic format).
4 - "WorkDir" is the working directory to use for the shortcut, @[email protected] means use EXE's folder.
5 - "CmdLine" an optional command line to pass to the shortcut.
About the image being used to create the icon, PNG is the best format because it has built-in alpha channel.
You can use image of any size, but the rule is:
IF the size of the image is larger than 32x32 then
it will be resized to 48x48 and shown without the icon frame background.
ELSE IF the size is 32x32 then
it will be drawn the standard way with a frame background.
The program allows you to redefine a shorcut that already exists on the Windows desktop, then it will use the parameters of the OTB file.
NOTE: Better to put all the image you want to use into a dedicated folder, i am using myself a subfolder named: UserIcon
Here is an example of the result you can get:

As you can see, i have replaced both the "BassBox" and "MovieBox" icon with larger one, that are stored in the "UserIcon" folder.
The OTB file could also be used as "super menu" to navigate between the different popup windows of a large project.
The latest public version is there
That's all for now.
...
Leave a comment: