Code: Select all
[Rainmeter]
Update=500
DynamicWindowSize=1
[Variables]
Group1State=1
Group2State=0
[MeasureGroup1State]
Measure=Calc
Formula=#Group1State#
DynamicVariables=1
IfEqualValue=1
IfEqualAction=!Execute [!ShowMeterGroup Group1][!HideMeterGroup Group2]
IfBelowValue=1
IfBelowAction=!Execute [!ShowMeterGroup Group2][!HideMeterGroup Group1]
[MeasureGroup2State]
Measure=Calc
Formula=#Group2State#
DynamicVariables=1
IfEqualValue=1
IfEqualAction=!Execute [!ShowMeterGroup Group2][!HideMeterGroup Group1]
IfBelowValue=1
IfBelowAction=!Execute [!ShowMeterGroup Group1][!HideMeterGroup Group2]
[App1]
Group=Group1
Meter=Image
ImageName=Images\App1.png
W=64
H=64
X=60
Y=30
LeftMouseUpAction=!Execute ["C:\Program Files\Apps\App1.exe"]
[App2]
Group=Group1
Meter=Image
ImageName=Images\App2.png
W=64
H=64
X=80
Y=80
LeftMouseUpAction=!Execute ["C:\Program Files\Apps\App2.exe"]
[App3]
Group=Group2
Meter=Image
ImageName=Images\App3.png
W=64
H=64
X=60
Y=30
LeftMouseUpAction=!Execute ["C:\Program Files\Apps\App3.exe"]
Hidden=1
[App4]
Group=Group2
Meter=Image
ImageName=Images\App4.png
W=64
H=64
X=80
Y=80
LeftMouseUpAction=!Execute ["C:\Program Files\Apps\App4.exe"]
Hidden=1
[LeftButton]
Group=Group2
Meter=String
X=0
Y=60
FontSize=15
FontColor=255,255,255,255
SolidColor=0,0,0,1
StringStyle=Bold
AntiAlias=1
Text=<<
LeftMouseUpAction=!Execute [!SetVariable Group1State 1][!SetVariable Group2State 0]
[RightButton]
Group=Group1
Meter=String
X=170
Y=60
FontSize=15
FontColor=255,255,255,255
SolidColor=0,0,0,1
StringStyle=Bold
AntiAlias=1
Text=>>
LeftMouseUpAction=!Execute [!SetVariable Group2State 1][!SetVariable Group1State 0]