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

Help: Rainmeter Skins • [solved] !ActivateConfig Giving Warning, How to Workaround?

$
0
0
Hello,

I have a fairly basic code segment. It is ActivatingConfig depending on a variable. Like THis:

Code:

[VisualToggleO]Meter=ShapeShape=Rectangle 154,292,54,54,26 | StrokeWidth 0 | Fill 0,0,0,1LeftMouseUpAction=[!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=1Hidden=#ModeP#[MeasureMode]Measure=CalcIfCondition=(#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
So, it works properly, but if the skin is refreshed the warning comes up "Config already active".

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.

Statistics: Posted by CodeCode — Yesterday, 8:46 am — Replies 8 — Views 132



Viewing all articles
Browse latest Browse all 871

Trending Articles