http://rainmeter.net/forum/viewtopic.php?p=10952#p10952
Still hoping we can enable !RainmeterActivateConfig and !RainmeterQuit when no configs are active, but this will work for now.
Basically if there are no configs loaded and you ask to load one, I set "Active=n" (whatever is appropriate for the .ini in question) in Rainmeter.ini if the config exists there, or add [ConfigName] and "Active=n" if not, then kill and start Rainmeter using ProcessClose() and ShellExecute().
Sample:
[Metadata]
Name=Tranquil System Info Bar
Config=Tranquil | Bar
Description=System info bar | CPU, TimeDate, Memory, Network UP/DN and C/D/E/F/G drive
Instructions=
Version=1.1
Tags=System | CPU | Time | Date | Memory | Network | Drive
License=GNU GENERAL PUBLIC LICENSE Version 2, June 1991
Variant=4
Preview=
Fixed: When the designation of Drive is wrong, a strange volume label is indicated.
Changed: Incorrect drive letter (e.g. not "C:\" but "C:") is now allowed.
- Moved from Settings.htm to Skins.htm
LeftMouseDownAction
RightMouseDownAction
MiddleMouseDownAction
LeftMouseUpAction
RightMouseUpAction
MiddleMouseUpAction
MouseOverAction
MouseLeaveAction
OnRefreshAction
- Moved from Skins.htm to Settings.htm
KeepOnScreen
Purpose. To allow Rainmeter to send the current config name (basically the current path but starting under "\Skins" and with no trailing "\") to external programs with !Execute. This will allow external programs to know the config name if they need to take some action and then send "Rainmeter.exe !RainmeterDeactivate" or "Rainmeter.exe!RainmeterRefresh" or other bangs that require a config name when sent to Rainmeter via the command line.
This behavior is ON by default. If you do not want the cursor change on a meter or button, set MouseActionCursor=0 on the Meter or button.
Example of disabling mouse cursor change:
[Meter]
Meter=Image
W=100
H=100
SolidColor=0,0,0,255
LeftMouseUpAction=!Execute ["http://rainmeter.net"]
MouseActionCursor=0
Note: If you have a button with a meter (either image or text) on TOP of it, you will need to set MouseActionCursor=0 on the image/text meter even if it doesn't have a mouse action, or the button will not change cursors.
Usage:
[WebParserMeasure]
Debug2File="[path\]Filename.ext"
Debug=2
Examples:
[WebParserMeasure]
Debug2File="Debug2File.txt" (saves to current skin folder)
Debug=2
[WebParserMeasure]
Debug2File="#SKINSPATH#DebugFiles\Debug2File.txt" (saves to
\DebugFiles under the \Skins folder)
Debug=2
Notes:
Must be enclosed in quotes.
Must include at least a filename. Path alone will not work.
Must be a directory which already exists. Does not create the target directory.
If the Debug2File= parameter is not used, WebParser will save webparserdbump.txt in the root of C: as it always has.
- Minor changes of ConvertToXXX(): Get an appropriate buffer size to convert the string. And using [] when deleting arrays.
- Fixed a few memory leaks.
- It's now possible to send the !BANG command when all windows are "On Desktop". (Rainmeter.exe and WebParser)
MiddleMouseUpAction | MiddleMouseDownAction
2) Updated the manual entries for the middle mouse functionality
3) Added spx268's code to fix a problem with BUTTON and dynamic variables addressed in:
http://code.google.com/p/rainmeter/issues/detail?id=108