I just figured out something and have to ask if someone else has figured out the same issue before, as well.
If applying the !Update bang, all measures and meters of the skin are updated, excepting the measures which have set an UpdateDivider=-1 option. Obviously, if I add a !UpdateMeasure bang, the measure(s) in cause is/are updated, but are not by the !Update bang.
Example code:
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
[Variables]
Num=0
[MeasureCalc]
Measure=Calc
Formula=#Num#
DynamicVariables=1
UpdateDivider=-1
[MeterCalc]
Meter=STRING
MeasureName=MeasureCalc
X=0
Y=0
Padding=15,5,15,5
FontColor=220,220,220
FontEffectColor=0,0,0
StringEffect=Shadow
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Variable: #Num##CRLF#Measure: %1
LeftMouseUpAction=[!SetVariable Num "(1-#Num#)"][!Update]
DynamicVariables=1
UpateDivider=-1
If I replace the [!Update] bang of the LeftMouseUpAction option of the [MeterCalc] meter by a [!UpdateMeasure "MeasureCalc"] (or even an [!UpdateMeasure *]), I get the measure updated correctly.
Is this something known?
Thank you in advance.