Right, now I see what is going wrong, but I should have been realizing this even with the posted piece of code. Sorry, my bad!Wow, now i get it, thanks.
What is a problem in your code is an infinite loop, created by the IfCondition, when it is written correctly. When refreshing the skin the value of the Zval variable is set to -2. Accordingly the IfCondition is false, so IfFalseAction is immediately executed. Its !SetVariable bang sets the value of the Zval variable to 2. Changing this way the value of the variable, the IfCondition is reevaluated on next update of the skin (so after a second, due to the Update=1000 option of the [Rainmeter] section). But this time the condition is meet, so IfTrueAction is executed. This sets the value of the variable back to -2. This process goes on infinitely, crashing finally Rainmeter. Absolutely normal behavior.
The IfCondition in this form makes not too much sense. What do you want to achieve, because I1m not sure I can follow. A first and extremely simple solution is to add an UpdateDivider=-1 option to the [Launcher2] measure, which contains the IfCondition, to avoid its continuous update, but as said, doesn't really make sense in my opinion.
Statistics: Posted by balala — Yesterday, 8:53 pm