It is currently March 29th, 2024, 1:08 am

[HELP] !ActivateConfig Bang

Discuss the use of Lua in Script measures.
vipe7
Posts: 13
Joined: February 14th, 2012, 11:21 pm

[HELP] !ActivateConfig Bang

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? :)
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [HELP] !ActivateConfig Bang

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

Re: [HELP] !ActivateConfig Bang

Post by vipe7 »

jsmorley wrote: April 17th, 2019, 12:18 pm SKIN:Bang('!DeactivateConfig', 'MySkin\\Weather')
Thanks <3