The problem is with your example code...
Code: Select all
Measure=Plugin
Plugin=SysInfo.dll
SysInfoType=TIMEZONE_ISDST
IfCondition=(MeasureTimeZoneSorD=0)
IfTrueAction=[!SetOption BigTimeZone Text "([MeasureTimeZoneStandard])"]
IfFalseAction=[!SetOption BigTimeZone Text "([MeasureTimeZoneDaylight])"]
IfCondition=(MeasureTimeZoneSorD=-0)
IfTrueAction=[!SetOption BigTimeZone Text "(Time Zone Unavailable)"]
Group=LCARS-Clock
Try something like this:
Code: Select all
[MeasureTimeZoneStandard]
Measure=Plugin
Plugin=SysInfo
SysInfoType=TIMEZONE_STANDARD_NAME
Group=LCARS-Clock
[MeasureTimeZoneDayLight]
Measure=Plugin
Plugin=SysInfo
SysInfoType=TIMEZONE_DAYLIGHT_NAME
Group=LCARS-Clock
[MeasureTimeZoneSorD]
Measure=Plugin
Plugin=SysInfo.dll
SysInfoType=TIMEZONE_ISDST
IfCondition=(MeasureTimeZoneSorD=0)
IfTrueAction=[!SetOption BigTimeZone Text "([MeasureTimeZoneStandard])"]
IfFalseAction=[!SetOption BigTimeZone Text "([MeasureTimeZoneDaylight])"]
IfCondition2=(MeasureTimeZoneSorD=-0)
IfTrueAction2=[!SetOption BigTimeZone Text "(Time Zone Unavailable)"]
[BigTimeZone]
Meter=String
FontSize=17
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
You can only have one IfCondition per measure, if you need more than one, you need IfCondition2=, IfCondition3= etc.
Also, you need the test that sets the Text with the value of the measure(s) to come after the measures it's using, or they will just be empty. The way IfCondition works is that it only fires the action(s) once when the condition changes between "false" and "true" (or "true" and "false"). So when your code was executed, there were no values for those two measures yet, so they were not set to anything. (well the default "0") Since the "test" didn't change value on subsequent updates, the IfCondition(s) didn't fire, and the meter just stayed zero.
1.png
You do not have the required permissions to view the files attached to this post.