Hello,
I have a skin that allows me to toggle the skins I've added using a button. My issue is that when the skin loads, the added skins start in an open state. However, after I close them using the button and then refresh Rainmeter, they reopen automatically.
I want the skins within this setup to be controlled only by the buttons and not affected by Rainmeter refreshes. Is there a way to achieve this? Thanks in advance!
I have a skin that allows me to toggle the skins I've added using a button. My issue is that when the skin loads, the added skins start in an open state. However, after I close them using the button and then refresh Rainmeter, they reopen automatically.
I want the skins within this setup to be controlled only by the buttons and not affected by Rainmeter refreshes. Is there a way to achieve this? Thanks in advance!
Code:
[Rainmeter]Update=500AccurateText=1DynamicWindowSize=1OnRefreshAction=[!DisableMouseAction "Rainmeter" "RightMouseUpAction|RightMouseDownAction"][Variables]ButtonState=1[MeasureSkinStatus]Measure=LoopIfCondition=(#ButtonState#=1)IfTrueAction=[!ActivateConfig "PcKapat"][!ActivateConfig "RestartTimer"]IfFalseAction=[!DeactivateConfig "PcKapat"][!DeactivateConfig "RestartTimer"]DynamicVariables=1[MeasureButtonText]Measure=StringString=#ButtonState#Substitute="0":"🔄 Aç","1":"🔄 Kapat"DynamicVariables=1[ToggleText]Meter=StringText=[MeasureButtonText]FontSize=12FontColor=255,255,255StringStyle=BoldAntiAlias=1X=110Y=25SolidColor=0,0,0,1DynamicVariables=1LeftMouseUpAction=[!SetVariable ButtonState "(#ButtonState#=0?1:0)"][TextDisplay]Meter=StringText=RESTART...FontSize=10FontColor=151,255,255StringStyle=BoldAntiAlias=1X=32Y=25Padding=5,5,5,5
Statistics: Posted by Timya — Yesterday, 10:38 pm — Replies 2 — Views 310