Quickly displaying Rainmeter above windows and solving problems with taskbar2 and sidebar2 appearing ontop with Enigma 4

Sep 3rd, 2012 | By | Category: Windows

So now that I’m a windows user again my quest to personalize and customize my OS is in full swing.  I need something that enables me to use my technology my way, in a way that allows me to work and function digitally as efficiently as possible.  Rainmeter is an amazing tool that allows me to see a wealth of information on my system at a glace like transfer speeds, battery like, the time, the weather, todo lists, and the list goes on.  The problem is that it works like a windows widget, it’s always sitting on the desktop and in order to see it you need to minimize all windows.  Now I supposed I could just press windowskey+d to minimize everything and show the desktop but sometimes it’s handy to either see this information along side something you are doing or just to have it displayed while you work for a short period of time.  To do this you’d need to bring it up over the windows and a way to send it back down to the depths of the desktop equally as fast with a quick keyboard or mouse toggle.

This is something you can’t do with windows widgets, but something that is more than possible, albeit a little buggy with Rainmeter.  Teh buggy parts has to do with the fact that there are 2 sidebars and 2 taskbars and the foggy glass plane that sits behind the icons on taskbar2 and sidebar2 loads infront of the icons when yuo bring the entire Rainmeter display to the foreground.  This has to do with the Loadorder being bugged just for these 2 bars.   The way around this is to create a script loads all the icons manually above the glass planes after you load Rainmeter as a whole to the foreground and then when you send rainmeter back to the desktop you need a second script that will make sure the glass plane goes all the way to the bottom.

To actuate these scripts with a simple keyboard shortcut you need go out and grab autohotkey(autohotkey.com) and install it.  You’ll probably need a couple minutes to familiarize yourself with how this kick ass little program works but after you have create a script with the following contents:

!a::
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1

run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Clock
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Weather
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Gallery
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\World\World3
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Volume
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Music
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Launcher\Launcher3
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Search\Run
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Search\Search2
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Search\Search3
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Search\Search4
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Reader\Gmail
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\System\Power
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Network\Wifi
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Clock
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Volume
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Clock
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Weather
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Gallery
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\World\World3
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Volume
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Sidebar\Music
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Launcher\Launcher3
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Search\Run
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Search\Search2
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Search\Search3
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Search\Search4
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Reader\Gmail
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\System\Power
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Network\Wifi
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Clock
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 1 Enigma\Taskbar\Volume
return

!z::

run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos 0
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos -1 Enigma\Sidebar\_Sidebar2
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos -1 Enigma\Taskbar\_Taskbar2
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos -1 Enigma\Sidebar\_Sidebar2
run, C:\Program Files\Rainmeter\Rainmeter.exe !RainmeterZPos -1 Enigma\Taskbar\_Taskbar2

 

Just save it and reload it into AHK and there you go, alt-a will bring Enima4 to the top and alt-z will push it back down again.  You’ll notice that I’ve repeated all of the module specific zPos commands twice.  That’s because AHK runs these lines so quickly and apparently not consecutively that every other run of the script there will be some elements that will still get loaded behind the glass so you just need to run em all twice ot make sure that doesn’t happen.  It doesn’t affect performance as it’s such a light function call anyways, at least not on my machine.

Hope that helps, enjoy!

Tags: , , , ,

Leave a Comment