can someone tell me if it is possible to change color of Shape meter (Fill Color & Stroke Color) with Bangs?
I've just made this simple code for testing and, as you can see, I can change color of Roundline meter with !SetOption bang, but if I try to change color of Shape meter nothing happens. I know Shape meter is quite new thing and maybe something is not working yet or I'm doing something wrong? I'm quite new to this so maybe I missed something. I have last beta version 4.1 r2815.
Code: Select all
[Rainmeter]
Update=1000
SkinWidth=110
SkinHeight=50
BackgroundMode=2
SolidColor=100,100,100
[Variables]
Switch=0
[Measure_String]
Measure=String
String=#Switch#
DynamicVariables=1
IfCondition=(Measure_String = 0)
IfTrueAction=[!SetOption Meter_Roundline LineColor 0,255,0,255][!SetOption Meter_Shape FillColor 0,255,0,255][!SetVariable Switch "1"][!Redraw]
IfCondition2=(Measure_String = 1)
IfTrueAction2=[!SetOption Meter_Roundline LineColor 255,0,0,255][!SetOption Meter_Shape FillColor 255,0,0,255][!SetVariable Switch "0"][!Redraw]
[Meter_Roundline]
Meter=Roundline
StartAngle=(Rad(0))
LineStart=0
LineLength=20
LineColor=255,255,255,255
Solid=1
AntiAlias=1
X=25
Y=25
[Meter_Shape]
Meter=Shape
Shape=Rectangle 65,5,40,40,10 | FillColor 255,255,255,255 | StrokeWidth 0