Please see the last line.
Thanks
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=30,30,30,100
[Variables]
width = 95
text = "my shop"
fontcolor = 205,205,205,155
online = 205,205,205,155
offline = 255,255,255,255
green = 0,255,0,255
red = 255,0,0,255
[MeasurePing1]
Measure=Plugin
Plugin=PingPlugin
DestAddress=172.16.0.1
UpdateRate=10
Timeout=2000
TimeoutValue=999
IfCondition=MeasurePing1=999
IfTrueAction=[!SetVariable text "my shop: offline"][!SetVariable fontcolor "#offline#"][!Redraw]
IfFalseAction=[!SetVariable text "my shop: ok"][!SetVariable fontcolor "#online#"][!Redraw]
[MeterPing1]
Meter=String
MeasureName=MeasurePing1
X=5
Y=5
W=#width#
H=20
FontFace=Myriad Pro Cond
FontSize=10
AntiAlias=1
StringEffect=Shadow
FontEffectColor=10,10,10,100
Text=#text#
FontColor=#fontcolor#
DynamicVariables=1
LeftMouseDownAction=[!SetVariable offline "#red#"][!SetVariable online "#green#"][!Redraw]