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

General Discussion • Newb question

$
0
0
You could use a counter Calc measure where the condition uses the modulus (remainder) operator. Below shows that If the counter has a remainder of one when divided by 2, the config is shown, else (when the remainder is zero) the config is hidden; !Toggle is another option. From there, you could apply math to the Counter, apply an UpdateDivider, change the numbers in the modulus condition, etc.

Code:

[Rainmeter]Update=1000[MeasureCounter]Measure=CalcFormula=Counter; Starting from one, count up on each updateIfCondition= #CURRENTSECTION# % 2 = 1; If the current value is divided by 2, does the remainder equal 1?IfTrueAction=[!Show]IfFalseAction=[!Hide]; If you want to show or hide a different skin,; use [!Show "OtherSkin"] and [!Hide "OtherSkin"]

Statistics: Posted by Alex88 — 47 minutes ago — Replies 1 — Views 34



Viewing all articles
Browse latest Browse all 981

Trending Articles