Hi, I've been trying to write an ahk script to bring my RainMeter skins to front (not to show the desktop, just to show the skin on top of whatever application I have active at the moment)
#f:: ;Windows + F (F)orces RM Skin to top
{
If(WinExist("ahk_class RainmeterMeterWindow")) ;class name of skin you wish to bring to front
#WinActivateForce
return
}
However, this doesn't seem to work - as such, I was wondering if there was an AHK guru out there that could determine the reason why it doesn't work.
Thank you,
Maudric
*Edit: Removed "(Need Help)" from title
Last edited by Maudric on September 21st, 2011, 7:04 pm, edited 1 time in total.
I'm no expert in this, but I believe you could use the !Zpos bang to set a config or group of configs to "stay topmost" for a short period of time. When you don't need them at the front any more, send a bang that reverts the position back to "On Desktop".
To send a bang to Rainmeter, I think you can use something like C:\path\to\rainmeter.exe "!ZPos 2 Configname"
(I didn't find the appropriate page for Rainmeter command line options in the manual, but you can find the !ZPos Bang here: http://rainmeter.net/cms/Bangs)
Sorry for the half-informed comment. I hope I could point you in the right direction.
I'm no expert in this, but I believe you could use the !Zpos bang to set a config or group of configs to "stay topmost" for a short period of time. When you don't need them at the front any more, send a bang that reverts the position back to "On Desktop".
Thanks a lot for the response, MerlinTheRed!
This is the code I have now, and it seems to work:
#f:: ;Windows + F (F)orces RM Skin to top
{
Run "C:\Program Files\Rainmeter\Rainmeter.exe" !RainmeterZPos 2 "C:\Users\------------\Documents\Rainmeter\Skins\DiskDock\Settings\RainConfigure.cfg"
return
}