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

Help: Rainmeter Skins • Re: !SetOption Bang Not Updating FontColor

$
0
0
This works and I could honestly use this to get from A to B for my current issue quite easily but, as I said, I'm new to Rainmeter and want to understand what it is I'm misunderstanding here :???:
The reason why your 1st code fails while your 2nd doesn't is quite simple actually: IfCondition is an option used in measures - and not meters:
https://docs.rainmeter.net/manual/measures/general-options/ifconditions/

A measure is a [section] that provides data, while a meter is a [section] that displays data. The former has a value (actually, 2 values, a numerical and a string one, that might be the same or different), so it makes sense to compare it with something else, while the latter has no value as it's just a visual element that shows something. Also, since we're at it, IfCondition only works with numerical values; if one day you want to compare the string value of a measure, you should then use IfMatch.

One other thing, just in case you're not yet aware of it: most of the options you can have in a measure or meter depend on the type of that measure or meter. There are some options that are common to all measures or all meters (like IfCondition for measures), but they are the "exception", not the "rule".

Statistics: Posted by Yincognito — Yesterday, 11:35 pm



Viewing all articles
Browse latest Browse all 691

Trending Articles