A simple Batch script Utility to enable Saving and Changing of complete Dock set-ups or "Themes"
for the Freeware RocketDock Application launcher by Punk Labs.



UPDATE ! !

New version ThemeSaver 3.0 released!!

New website: ThemeSaver.blogspot.com






  • So you've organized your dock with all your favorite apps...
  • and you've applied all those sweet icons....
  • You have all the settings and docklets tweaked just the way you want them...
  • But what if you want to modify or create another dock without losing all that time and effort?

  • What if you could have your dock with the same apps but different icon "themes"?
  • or what if you could have different docks "themes" with totally different apps? Perhaps all games together on one, or all your productivity apps?
  • and what if you could have all of these and switch back and forth between them with a click of your mouse....


I desired the ability to do these things myself, so some time ago I created a version of this utility that was based on a couple of simple batch files that transferred setting to and from the RocketDock keys in the Windows Registry. I posted my batch files on the RocketDock user forums but alas they are no longer with us, and I have long since lost my copies....

Now that RocketDock has the user option of saving it's settings in an ini file instead of the registry I decided it was time for a new version that was easier, had more features, and didn't have to mess with the registry.

I'm no programming wizard by any stretch of the imagination but i managed to cobble together this single batch file that performs the features that I wanted.


Running the DockSaver batch file:
  1. command prompt window asks user for theme filename
  2. current dock settings are saved to 'theme-name.ini' file
  3. current docklet settings are saved to 'theme-name_docklets.ini' file
  4. a 'theme-name.bat' batch' file is created. This file is used to re-call the saved dock theme
Running the 'theme-name.bat' file created as above:
  1. RocketDock is shut-down
  2. 'theme-name.ini' is saved to current settings
  3. 'theme-name_docklets.ini' is saved to current docklet settings
  4. RocketDock is re-started
  5. your saved dock with all preferences intact appears as if by magic!


Installation...
  1. Create a folder named 'Themes' in your RocketDock main folder (C:/Program Files/RocketDock/Themes/)
  2. Save ''RocketDock Theme Saver.bat' batch file to this folder
  3. All auto created theme files are saved here in the 'Theme' folder
  4. install NirCmd freeware command-line tool. This is REQUIRED for the batch to work as the built-in Windows batch commands lack some basic functions on most platforms. This is one small exe file and goes in your Windows directory
  5. IMPORTANT! -- You must choose to have RocketDock store it's internal setting in ini format vs. default Windows Registry location.
    Dock Settings window -> General tab -> second option 'Store settings in a Portable INI' must be enabled.

Usage...

Obviously you need a way to interact with the automatically created theme files. The simplest way is to simply open the 'Themes' folder and double-click the your-saved-filename.bat file of your choice to 'install' your theme. Or you could create a folder of shortcuts...

You can get more elaborate of course. I, for example, use ShortPop for my 'Start Menu'. Others use KKMenu. You could make a theme 'list' menu using one of these docklet utilities. I actually use a method of creating menus for all of my dock icons, one of which is for my Themes, that is based on hidden system folders and editable registry entries. You can see this in some of the screenshots below.



Problems...
  1. Due to a limitation of batch file programming (or my own ignorance) you can not use a space when choosing your theme filename. ie. FlibbertyBlit is ok, but Flibberty Blit would be truncated to just Flibberty.
  2. I've found that the docklets settings can some times get a little messed up and may require manual editing of the created theme-docklets.ini files to load properly
update dec31.07 : I added a slight delay at a couple of steps in the batch file. It 'seems' to help with the docklets loading better so far....

update may13.08 : Tweaked the 'delay' again. Added crucial info above regarding an RD setting for saving settings in an ini file. doh! And elaborated/corrected/enhanced information above. Also included more info with the download package.


Screenshots...



Advanced...

One thing about running a batch file... They always pop up a command window even if just for a split second. Doesn't really affect function at all, but wouldn't it be nice if this didn't happen for a more seamless visual appeal when 're-calling' a saved theme?

I found a very simple script that does just that. It hides the command window. The script is called 'invisible.vbs' and was gleaned from ericphelps.com (more specific info at http://www.ericphelps.com/batch/samples/invisible.txt)


Why?

I made this for myself, but I thought I would share it just in case anyone else might find it useful. It's my little attempt at helping the RocketDock community. After all Poly and Skunkie have been ever so generous in putting so much work and time into creating RocketDock itself. And they give it away for free! Thank you Punks!! :-)