It is currently September 1st, 2024, 12:50 am
Discuss the use of Lua in Script measures.
-
vipe7
- Posts: 13
- Joined: February 14th, 2012, 11:21 pm
Post
by vipe7 »
Hello,
Trying to activate a skin via lua
Code: Select all
SKIN:Bang('!ActivateConfig', 'MySkin\Weather', 'Weather.ini')
Rainmeter log says "!ActivateConfig: Invalid parameters"
Im pretty sure that typing MySkin/Weather correct, same for Weather.ini
I had activated it manually and tried to deactivate it that way:
Code: Select all
SKIN:Bang('!DeactivateConfig', 'MySkin\Weather')
and got this in log:
!DeactivateConfig: "MySkinWeather" not active
Any suggestions?
![Smiler :)](./images/smilies/ab.gif)
-
jsmorley
- Developer
- Posts: 22710
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Post
by jsmorley »
vipe7 wrote: ↑April 17th, 2019, 10:18 am
Hello,
Trying to activate a skin via lua
Code: Select all
SKIN:Bang('!ActivateConfig', 'MySkin\Weather', 'Weather.ini')
Rainmeter log says "!ActivateConfig: Invalid parameters"
Im pretty sure that typing MySkin/Weather correct, same for Weather.ini
I had activated it manually and tried to deactivate it that way:
Code: Select all
SKIN:Bang('!DeactivateConfig', 'MySkin\Weather')
and got this in log:
!DeactivateConfig: "MySkinWeather" not active
Any suggestions?
SKIN:Bang('!DeactivateConfig', 'MySkin\\Weather')
-
vipe7
- Posts: 13
- Joined: February 14th, 2012, 11:21 pm
Post
by vipe7 »
jsmorley wrote: ↑April 17th, 2019, 12:18 pm
SKIN:Bang('!DeactivateConfig', 'MySkin\\Weather')
Thanks <3