It is currently December 5th, 2023, 11:38 am
Launching a Skin from Another Skin
-
- Posts: 15
- Joined: June 19th, 2010, 3:13 am
Launching a Skin from Another Skin
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.
-
- Rainmeter Sage
- Posts: 642
- Joined: July 19th, 2009, 5:59 am
- Location: Montreal, QC, Canada
Re: Launching a Skin from Another Skin
!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
-
- Posts: 15
- Joined: June 19th, 2010, 3:13 am
Re: Launching a Skin from Another Skin
Thanks, but what do you mean by "Config/Name/Here" ?
-
- Rainmeter Sage
- Posts: 642
- Joined: July 19th, 2009, 5:59 am
- Location: Montreal, QC, Canada
Re: Launching a Skin from Another Skin
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.
-
- Posts: 15
- Joined: June 19th, 2010, 3:13 am
Re: Launching a Skin from Another Skin
I did everything as you suggested, but to no avail :S Any ideas?
-
- Rainmeter Sage
- Posts: 642
- Joined: July 19th, 2009, 5:59 am
- Location: Montreal, QC, Canada
-
- Posts: 15
- Joined: June 19th, 2010, 3:13 am
Re: Launching a Skin from Another Skin
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
-
- Rainmeter Sage
- Posts: 642
- Joined: July 19th, 2009, 5:59 am
- Location: Montreal, QC, Canada
Re: Launching a Skin from Another Skin
Try changing the forward slashes ("/") into backslashes ("\")
-
- Posts: 15
- Joined: June 19th, 2010, 3:13 am
Re: Launching a Skin from Another Skin
Worked like a charm, the smallest things always get me. :roll: Thanks! 
