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)"].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.?![]()
Yes, i know.
But i dont know this (to hide a Group)Code:
[!SetOption MeterStringAlpha Hidden ((#RAM#=1)?0:1)]
![]()
Code:
[!SetOption MeterGroup 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