You have an error in your IfCondition tests; the first
IfCondition test has no number (1 is assumed), the second test should be
IfCondition2 and the same for those actions, the sequence can continue for as many tests as you want.
The second issue is that even though
IfCondition is always dynamic, the calc measure needs to be dynamic also, to detect ScreenAreaHeight changes. So add
DynamicVariables=1 to that measure.
Finally, I would update and redraw the string meter after changing the text option.
Replace the ScreenAreaHeight test section with:
Code: Select all
[MeasureScreenHeight]
Measure=Calc
Formula=#SCREENAREAHEIGHT#
IfCondition=(#CURRENTSECTION#=768)
IfTrueAction=[!LoadLayout "illustro_internal_res"][!SetOption MeterMonitor Text "LG Monitor 768"][!UpdateMeter MeterMonitor][!Redraw]
IfCondition2=(#CURRENTSECTION#=1080)
IfTrueAction2=[!LoadLayout "illustro_lg_1080"][!SetOption MeterMonitor Text "LG Monitor 1080"][!UpdateMeter MeterMonitor][!Redraw]
IfCondition3=(#CURRENTSECTION#=1200)
IfTrueAction3=[!LoadLayout "illustro_sam_1200"][!SetOption MeterMonitor Text "Samsung Monitor 1200"][!UpdateMeter MeterMonitor][!Redraw]
DynamicVariables=1
Now you should see your string meter on the screen and it will change when you change resolutions.