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

Help: Rainmeter Skins • Re: Nested Conditions + Formulas

$
0
0
That final code seems overkill for using where I planned to, given there will be another twelve for Disk Read and Write variations! O.O
To simplify and make things more compact, why not doing something like (basic syntax used below for simplicity):

Code:

Color0=...Color1=...Color2=......FontColorIndex=([SomeMeasure]=0?1:0)FontColor=[#Color[#FontColorIndex]]
In other words, instead of trying to set the color directly in the conditional, set its index (assuming that the color variables are defined using indexes, obviously), and then set the color based on that index, via the nested syntax.

Statistics: Posted by Yincognito — Today, 10:00 am



Viewing all articles
Browse latest Browse all 1486

Trending Articles