It is currently May 3rd, 2024, 4:53 pm

[Solved] Multi-toggle?

Get help with creating, editing & fixing problems with skins
Jarhead
Posts: 28
Joined: April 7th, 2011, 7:20 pm

[Solved] Multi-toggle?

Post by Jarhead »

Hi there!
To better explain my problem, I'll tell you to think about the Arcs skin. I want to set it so that when I click on one of the roundlines it toggles on a meter that shows the relative numerical value. But that's not all, because if I click on a different roundline, I want it to toggle off every other meter showing numerical value and than toggle on the value relative to the last roundline i clicked.
Maybe it is a bit confusing. Looks something easier to do than to tell.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: Multi-toggle?

Post by poiru »

Add the following to all the meters in question:

Code: Select all

Hidden=1
Group=NumMeters
Then, to control which is shown, use something like this:

Code: Select all

LeftMouseUpAction=!Execute [!RainmeterHideMeterGroup NumMeters][!RainmeterShowMeter MeterYouWantToShow][!RainmeterRedraw]
(which translates to: hide all the numerical meters and then show MeterYouWantToShow)
Jarhead
Posts: 28
Joined: April 7th, 2011, 7:20 pm

Re: Multi-toggle?

Post by Jarhead »

Can't believe it was that easy. Thank a lot poiru!