It is currently June 23rd, 2024, 1:10 am

Launching a Skin from Another Skin

Get help with creating, editing & fixing problems with skins
Reflex
Posts: 15
Joined: June 19th, 2010, 3:13 am

Launching a Skin from Another Skin

Post by Reflex »

Hi. Here's my scenario: I have a taskbar skin, with icons for applications, places, system, etc, like Linux. When clicked, I want the icons to launch completely separate .ini files. I tried using !RainmeterShow [name here], but it didn't work. How do I set this up to work? And more specifically, how do the folders need to be setup? Thanks.
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Launching a Skin from Another Skin

Post by Alex2539 »

!RainmeterShow is used when the skin is already open, but hidden (which is not the same thing as being closed). Instead use !RainmeterActivateConfig Config/Name/Here FilenameHere.ini
ImageImageImageImage
Reflex
Posts: 15
Joined: June 19th, 2010, 3:13 am

Re: Launching a Skin from Another Skin

Post by Reflex »

Thanks, but what do you mean by "Config/Name/Here" ?
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Launching a Skin from Another Skin

Post by Alex2539 »

In Rainmeter, the Config name is the name of the folder holding the .ini files for that skin. The name would be the full path within the skins folder. For example, the Config name for Enigma's network skin is Enigma\Sidebar\Network and the file name would be network.ini. Another way to find this is by right-clicking the tray icon and choosing "Configs" and finding the .ini file you want to open there. Whatever path you take will be the Config name.
ImageImageImageImage
Reflex
Posts: 15
Joined: June 19th, 2010, 3:13 am

Re: Launching a Skin from Another Skin

Post by Reflex »

I did everything as you suggested, but to no avail :S Any ideas?
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Launching a Skin from Another Skin

Post by Alex2539 »

I would need to see your code.
ImageImageImageImage
Reflex
Posts: 15
Joined: June 19th, 2010, 3:13 am

Re: Launching a Skin from Another Skin

Post by Reflex »

Not a problem, its really simple though :/

Code: Select all

[Icon]
Meter=IMAGE
ImageName=system.png
X=4
Y=2
LeftMouseDownAction=!RainmeterActivateConfig Reflex/Menus/System System.ini
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Launching a Skin from Another Skin

Post by Alex2539 »

Try changing the forward slashes ("/") into backslashes ("\")
ImageImageImageImage
Reflex
Posts: 15
Joined: June 19th, 2010, 3:13 am

Re: Launching a Skin from Another Skin

Post by Reflex »

Worked like a charm, the smallest things always get me. :roll: Thanks! :D