why this don't work please help:
...
Disabled=(#showHours#=0) || ((#showMinutes#=0) && (#showSeconds#=0))
DynamicVariable=1
when showHours=0 it works okay while when i have showMinutes=0 and showSeconds=0 it does not disable the measure.
It is currently April 19th, 2024, 4:49 am
problem with "Disabled"
-
- Posts: 44
- Joined: December 5th, 2017, 5:58 pm
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: problem with "Disabled"
It's DynamicVariables, not DynamicVariable.
-
- Posts: 44
- Joined: December 5th, 2017, 5:58 pm
Re: problem with "Disabled"
my mistake here. in code it correct. it does not work with DynamicVariables=1 too. what is wrong with this???
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: problem with "Disabled"
Not sure. It works for me...
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
showHours=1
showMinutes=0
showSeconds=0
[MeasureCalc]
Measure=Calc
Formula=1
Disabled=(#showHours#=0) || ((#showMinutes#=0) && (#showSeconds#=0))
DynamicVariables=1
[MeterCalc]
Meter=String
MeasureName=MeasureCalc
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
-
- Posts: 44
- Joined: December 5th, 2017, 5:58 pm
Re: problem with "Disabled"
my fault. i see now. thank you.