It is currently May 6th, 2024, 12:07 pm

Can I create a switch-skins button?

Get help with creating, editing & fixing problems with skins
quigongrim
Posts: 1
Joined: September 24th, 2011, 1:51 pm

Can I create a switch-skins button?

Post by quigongrim »

I've created a few skins .ini's in a single folder and have no real need to have them all open at a single time. However, I thought an expand button to switch between the skins would be handy.

What I've done is created a couple of skins that show the top five and ten positions of the barclays premier league from the BBC website using the WebParser. I'd like to make a button to switch between the two skins rather than have it all in one skin and flip between using ShowMeter and HideMeter's.

Is this possible?
Visit, use, help and share. All is appreciated
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Can I create a switch-skins button?

Post by Kaelri »

Completely. If both skins are in the same folder, all you need to do is create a meter with the following line:

Code: Select all

LeftMouseUpAction=!ActivateConfig "#CURRENTCONFIG#" "TheOtherSkin.ini"