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

Help: Rainmeter Skins • Re: Need a little help with getting an If Condition to do a different Mouse Click Action

$
0
0
Yes, I know that, hiding individual strings or images like that, but I meant that if I put them together in a group, I can hide this group. Or just each individual string.? :confused:

Yes, i know. :rosegift:

Code:

[!SetOption MeterStringAlpha Hidden ((#RAM#=1)?0:1)]
But i dont know this (to hide a Group) :17readbook

Code:

[!SetOption MeterGroup STRING1 Hidden ((#RAM#=1)?0:1)]
As RicardoTM wrote, you can use the !SetOptionGroup bang to get the same option set on all meters or measures of a group: [!SetOptionGroup STRING1 Hidden "((#RAM#=1)?0:1)"].
However, about both operations (setting the Hidden option of a meter or a group), a much more elegant approach seems to be the using of the !HideMeterGroup / !ShowMeterGroup / !ToggleMeterGroup bangs. Not being sure where do you want to use any of the above bangs, I propose the following approach:

Code:

[MeasureHiding]Measure=CalcFormula=#RAM#IfCondition=(#CURRENTSECTION#=0)IfTrueAction=[!HideMeterGroup "STRING1"][!Redraw]IfFalseAction=[!ShowMeterGroup "STRING1"][!Redraw]DynamicVariables=1

Statistics: Posted by balala — Yesterday, 7:02 pm



Viewing all articles
Browse latest Browse all 1489

Trending Articles