It is currently June 16th, 2021, 11:47 am

Launch a skin from another skin ![SOLVED]

Help with creating, editing & fixing problems with skins
ordisoft
Posts: 3
Joined: July 23rd, 2009, 10:59 pm

Launch a skin from another skin ![SOLVED]

Post by ordisoft »

Hello,

That's all in the title, when I click on a skin I manage to launch an .exe
Ex: LeftMouseDoubleClickAction =! Execute ["notepad ++. Exe"]

But I can't launch another skin
Ex: LeftMouseDoubleClickAction =! Execute ["E: \ Rainmeter \ Skins \ COSMOS TIMES \ Cosmos Time 0.ini"]
He opens it in notepad ++ ???


Is there a solution?
Thank you all☺☻
Last edited by ordisoft on January 12th, 2020, 3:52 pm, edited 2 times in total.
User avatar
jsmorley
Developer
Posts: 21758
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Launch a skin from another skin!

Post by jsmorley »

Please post in English on these forums. Our goal is to have the maximum number of people able to help you, and the maximum number of people able to potentially be helped in the future by the solution. English is the most reliable way to do this.

Anyway...

Code: Select all

LeftMouseDoubleClickAction=[!ActivateConfig "COSMOS TIMES" "Cosmos Time 0.ini"]
https://docs.rainmeter.net/manual/bangs/#ActivateConfig

The !Execute bang is long-deprecated and should not be used.
Launch a skin from another skin!

Hello,

That's all in the title, when I click on a skin I manage to launch an .exe
Ex: LeftMouseDoubleClickAction =! Execute ["notepad ++. Exe"]

But I can't launch another skin
Ex: LeftMouseDoubleClickAction =!Execute ["E: \ Rainmeter \ Skins \ COSMOS TIMES \ Cosmos Time 0.ini"]
He opens it in notepad ++ ???
ordisoft
Posts: 3
Joined: July 23rd, 2009, 10:59 pm

Re: Lancer un skin à partir d'un autre skin ![SOLVED]

Post by ordisoft »

Sorry it's google which automatically translated to French ! :???:
Thanks its works fine :great: :thumbup:
Problem solved
User avatar
jsmorley
Developer
Posts: 21758
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Launch a skin from another skin ![SOLVED]

Post by jsmorley »

Great! Glad to help.
heermaas
Posts: 2
Joined: June 2nd, 2021, 10:06 am

Re: Launch a skin from another skin ![SOLVED]

Post by heermaas »

What's wrong with the following code, if i want to load the evernote-icon of honeycomb by clicking on another icon of honeycomb?:
LeftMouseUpAction=[!ActivateConfig "Honeycomb" "evernote" "evernote.ini"]
User avatar
death.crafter
Posts: 176
Joined: April 24th, 2021, 8:13 pm

Re: Launch a skin from another skin ![SOLVED]

Post by death.crafter »

heermaas wrote: June 2nd, 2021, 10:12 am What's wrong with the following code, if i want to load the evernote-icon of honeycomb by clicking on another icon of honeycomb?:
LeftMouseUpAction=[!ActivateConfig "Honeycomb" "evernote" "evernote.ini"]
LeftMouseUpAction=[!ActivateConfig "Honeycomb\evernote"]

Only if you have multiple ini files inside one folder, use:
LeftMouseUpAction=[!ActivateConfig "Honeycomb\evernote" "evernote.ini"]
from the Realm of Death
User avatar
balala
Rainmeter Sage
Posts: 12782
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Launch a skin from another skin ![SOLVED]

Post by balala »

heermaas wrote: June 2nd, 2021, 10:12 am What's wrong with the following code, if i want to load the evernote-icon of honeycomb by clicking on another icon of honeycomb?:
LeftMouseUpAction=[!ActivateConfig "Honeycomb" "evernote" "evernote.ini"]
Besides death.crafter's reply note that the !AcvtivateConfig bang requires one or two parameters, never three. The required parameters are:
  • Config - this is the name of the config in which the skin resides. It is written starting from the Skins folder. If the skin's file is Honeycomb\evernote\evernote.ini, the config is Honeycomb\evernote, but this config has to be written by one.
  • File - this is an optional parameter (the above Config is required, it has to be added). It represintes the name of ther file of skin which has to be loaded (evernote.ini).
As said above, if I'm not mistaken and in accord to death.crafter's reply as well, the config is probably Honeycomb\evernote and this is the first parameter, and the name of the file is evernote.ini, which will be the second parameter.

Note one more: unlike !ActivateConfig, !DeactivateConfig requires one single parameter, the name of the config. In this bang the name of file is not required, howvere if it is added, the bang is still working, because it simply ignores the not required second parameter.
heermaas
Posts: 2
Joined: June 2nd, 2021, 10:06 am

Re: Launch a skin from another skin ![SOLVED]

Post by heermaas »

Thank you, you both helped me really much!
It works perfectly :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 12782
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Launch a skin from another skin ![SOLVED]

Post by balala »

heermaas wrote: June 2nd, 2021, 11:34 am Thank you, you both helped me really much!
It works perfectly :thumbup:
Great from my part.