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

Change layout based on time not working!

$
0
0
I have added the following code to a skin which is just a background, however, despite mHour being the correct value (I checked through "open log > skins"), the layout does not get changed. Any ideas on how to fix this?

Code:

[Rainmeter][Background]Meter=ImageImageName=firewatch-day.jpgW=2048H=1280[mHour]Measure=TimeFormat=%HUpdateDivider=10IfCondition=(mHour >=18 || mHour <6)IfTrueCondition=[!LoadLayout "firewatchEvening"][dummy]Meter=String
I also have another background skin which is displayed when the layout changes which code is nearly identical:

Code:

[Rainmeter][Background]Meter=ImageImageName=firewatch-evening.jpgW=2048H=1280[mHour]Measure=TimeFormat=%HUpdateDivider=10IfCondition=(mHour >=6 && mHour <18)IfTrueCondition=[!LoadLayout "firewatchDay"][dummy]Meter=String
Any help would be greatly appreciated :)

Statistics: Posted by ClaymoreRoomba — Yesterday, 10:44 pm — Replies 1 — Views 27



Viewing all articles
Browse latest Browse all 723

Trending Articles