I wanted to make a skin that uses !SetWallpaper to change wallpaper depending on the time. Somehow nothing works and I have no idea why. Images are located in the same folder as the .ini
Probably the reason is that you use invalid IfCondition expression. Modify "IfCondition1" and "IfTrueAction1" to "IfCondition" and "IfTrueAction"
Ps.: You should change Update=1 option to Update=1000 or some, because Update=1 means the measure is updated every 1 ms (0.001 second). This update specification is actually invalid. Rainmeter update cycle is 16 ms minimum.
mak_kawa wrote: ↑May 29th, 2020, 1:08 am
Probably the reason is that you use invalid IfCondition expression. Modify "IfCondition1" and "IfTrueAction1" to "IfCondition" and "IfTrueAction"
Not probably, but exactly. The first IfCondition and IfTrueAction (and accordingly the first IfFalseAction) options don't have number, only starting from the second ones. So, not IfCondition1 and IfTrueAction1, but IfCondition and IfTrueAction, then IfCondition2 and IfTrueAction2 and so on.
mak_kawa wrote: ↑May 29th, 2020, 1:08 am
Ps.: You should change Update=1 option to Update=1000 or some, because Update=1 means the measure is updated every 1 ms (0.001 second). This update specification is actually invalid. Rainmeter update cycle is 16 ms minimum.
No, practically Update=1 means nothing, because it is invalid (second paragraph here). The Update value is expressed into milliseconds, not seconds.
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
Just as an additional side-note, it depends as well on where and how the value of the [MeasureHour] measure is used, but if it is not used elsewhere, I'd propose to modify the Format of the [MeasureHour] measure and the IfConditions as it follows:
With the Format=%#H option, the leading zero is not used, so there is no need to use it nor in the IfConditions. Much cleverer, in my opinion.
Note that if the value of the [MeasureHour] measure is needed somewhere else in the code as well, you should ignore this.