Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 975

Help: Rainmeter Skins • Is this Conditional Statement correct?

$
0
0
I've set a variable FullScreen=1 so I can adjust the size of the skin using this conditional statement:
Y=(#FullScreen#=1?(#ScreenAreaWidth#-60):(#WorkAreaHeight#-20))
But the meter disappears completely.

However, in this meter, it works exactly as expected:

Code:

[ScreenSaver]Meter=ShapeShape=Rectangle 0,0,#ScreenAreaWidth#,(#FullScreen#=1?#ScreenAreaWidth#:#WorkAreaHeight#) | Extend FillFill=FillColor #RedB#,#GreenB#,#BlueB#,#AlphaB#DynamicVariables=1Group=#CURRENTSECTION#
The problem meter has DynamicVariables=1 via a style. Everything is working as expected, just this formula seems not to. Any idea why?
Thanks for the help. :thumbup:

Statistics: Posted by sl23 — Yesterday, 12:10 pm — Replies 2 — Views 78



Viewing all articles
Browse latest Browse all 975

Trending Articles