I have a fairly basic code segment. It is ActivatingConfig depending on a variable. Like THis:
Code: Select all
[VisualToggleO]
Meter=Shape
Shape=Rectangle 154,292,54,54,26 | StrokeWidth 0 | Fill 0,0,0,1
LeftMouseUpAction=[!SetVariable Beta "(abs((#Beta#-1)%2))"][!WriteKeyValue Variables Beta "[#Beta]" "#@#MainVariables.inc"][!SetVariable Minimal "(abs((#Minimal#-1)%2))"][!WriteKeyValue Variables Minimal "[#Minimal]" "#@#MainVariables.inc"][!Update]
DynamicVariables=1
Hidden=#ModeP#
[MeasureMode]
Measure=Calc
IfCondition=(#Beta# = 1)
IfTrueAction=[!ActivateConfig "Utopia Sound\Beta Sound Clock" "BetaSoundClock.ini"][!SetVariable BetaOn "1"][!WriteKeyValue Variables BetaOn "[#BetaOn]" "#@#MainVariables.inc"][!Update]
IfCondition2=(#Minimal# = 1)
IfTrueAction2=[!ActivateConfig "Utopia Sound\Beta Sound Clock" "Cover Wizard.ini"][!Update]
DynamicVariables=1
Is there a way to work this out to not pass a warning?
If not, I'm happy with the functionality, its just that intrinsic warning that is 'bugging' me. Well TBH the refresh causes forces the user to click the toggle button twice until it goes fine. So, I'd like to stop that as well.
Thanks.