Quantcast
Viewing all articles
Browse latest Browse all 1495

Help: Rainmeter Skins • Re: Change layout based on time not working!

EDIT: Sorry, Yincognito beat me, as usually...
however, there still seems to be an issue, as the layouts don't seem to be swapping from day to evening.
There is, and additionally there is something missing as well.
The error logic is that if here are more than one single logical expression in the IfCondition option, you have to include each of those expressions into parantheses. This way, for instance: IfCondition=((mHour>=6)&&(mHour<18)). If you do this, there still is a thing you have to take into account. This is not an error, but you have to know that since there is only an IfTrueAction, this option is executed when the time reaches the appropriate value (is between 6 and 18 every day). When the time is outside of these boundaries, nothing is executed (there not being an IfFalseAction option). If the skin is activated when the time reaches the "upper" limit (18) since according to the IfTrueAction the firewatchDay layout has been loaded, it is kept even after 18. Nothing loads the firewatchEvening layout.
To load this layout outside of the specified interval, add an IfFalseAction=[!LoadLayout "firewatchEvening"] option to the [mHour] measure. This way the firewatchDay layout is loaded in the 6 - 18 interval, while firewatchEvening outside of this interval.

Statistics: Posted by balala — Yesterday, 6:43 pm



Viewing all articles
Browse latest Browse all 1495

Trending Articles