I have this skin configuration in a different skin (this is just a test package) I would like the button state to persists when the Bigger Time skin is active or deactive. What am I missing, because after refreshing GPU METERS BUTTON TEST.ini the button state doesn't persist whether Bigger Time is active or not. In other words: "When Bigger Time is toggled on, the test button goes Green (as it should) but when I refresh the test button it goes back to Red (Ugh!!!) even though Bigger Time is still active, and vice versa." I'm trying to get the button state to persist after the skin is unloaded and then re-loaded so my users will have a better experience with my creation. Thank you for helping.
(NOTED: I asked CoPilot for the fix four times and it failed to give me the fix all four times. AI isn't as smart as they claim it to be. And No,I don't believe in training AI. AI should know the very first time I ask)
(NOTED: I asked CoPilot for the fix four times and it failed to give me the fix all four times. AI isn't as smart as they claim it to be. And No,I don't believe in training AI. AI should know the very first time I ask)
Code:
[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1OnRefreshAction=[!SetVariable BTButtonState [BTButtonState]][!UpdateMeterGroup Buttons][!Redraw][Metadata]Name=BUTTON TEST.iniAuthor=Thinkr8License=Creative Commons BY-NC-SA 3.0Version=1.0Information=Meter selection button (toggle meter).[Variables]@IncludeStyle=#@#Variables\Style\Style.inc@IncludeTips=#@#Variables\Tips\ToolTips.inc@IncludeUV=#@#Variables\User\User Variables.incBTButtonState=0[mSkinName]Meter=StringMeterStyle=InkSetSolidColor=181,150,0,100Text=TEST BUTTON ->>>X=0Y=0; (B2 is a Green Button on the bottom of B1)[7mage]Meter=ImageImageName=#@#Images\B2.pngX=210Y=0rW=22H=22ToolTipText=#BT#ToolTipHidden=#HideTips#MouseOverAction=[!SetOption #CURRENTSECTION# GreyScale 1][!UpdateMeter #CURRENTSECTION#][!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# GreyScale 0][!UpdateMeter #CURRENTSECTION#][!Redraw]LeftMouseUpAction=[Play #PlaySound#][!SetVariable BTButtonState 1][!WriteKeyValue Variables BTButtonState 1 "#CURRENTPATH#BUTTON TEST.ini"][!ToggleConfig "#ROOTCONFIG#\Bigger Time"][!Hidemeter "7mage"][!Showmeter "7rmage"][!Redraw]AntiAlias=1Hidden=BTButtonState=0 ? 0 : 1Group=Buttons; (B1 is a Red Button on top of B2)[7rmage]Meter=ImageImageName=#@#Images\B1.pngX=0rY=0rW=22H=22ToolTipText=#BT#ToolTipHidden=#HideTips#MouseOverAction=[!SetOption #CURRENTSECTION# GreyScale 1][!UpdateMeter #CURRENTSECTION#][!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# GreyScale 0][!UpdateMeter #CURRENTSECTION#][!Redraw]LeftMouseUpAction=[Play #PlaySound#][!SetVariable BTButtonState 0][!WriteKeyValue Variables BTButtonState 0 "#CURRENTPATH#BUTTON TEST.ini"][!ToggleConfig "#ROOTCONFIG#\Bigger Time"][!Showmeter "7mage"][!Hidemeter "7rmage"][!Redraw]AntiAlias=1Hidden=BTButtonState=1 ? 0 : 1Group=Buttons
Statistics: Posted by Thinkr8 — Yesterday, 8:08 pm — Replies 3 — Views 1547