It is currently April 27th, 2024, 7:45 pm

Need help with the !Refresh bang

Get help with creating, editing & fixing problems with skins
Virgil
Posts: 13
Joined: October 14th, 2011, 1:16 pm

Need help with the !Refresh bang

Post by Virgil »

Hello,

I have two differents skins in the same suite. When I click on a button in the first skin, I want that the second skin (and only this one) is refreshed.
I tried different ways and different codes but I can't make it works.

Here is my code :

Code: Select all

LeftMouseUpAction=[!WriteKeyValue variables wall "wallpaper3b""#SKINSPATH#MySuiteName\Variables.inc"][!Refresh "#SKINSPATH#MySuiteName\Toggle\Toggle.ini"]
So, when I click on the meter, I want that the !WriteKeyValue's change is applied in the toggle.ini skin with the !Refresh bang. I'm sure there is a mistake in my code.
Can you help me please?

Thanks
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Need help with the !Refresh bang

Post by jsmorley »

The config parameter on bangs is not a full path to a .ini file, but is the folder structure under ..Skins\ where a currently loaded skin resides.

[!Refresh "MySuiteName\Toggle"]

Hint: When you right-click the Rainmeter tray icon, exactly what you see on the list of currently running skins is the "config".
Virgil
Posts: 13
Joined: October 14th, 2011, 1:16 pm

Re: Need help with the !Refresh bang

Post by Virgil »

Oh ok. I must rember that. Thanks a lot