It is currently August 20th, 2019, 1:56 am

[HELP] !ActivateConfig Bang

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

[HELP] !ActivateConfig Bang

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

Re: [HELP] !ActivateConfig Bang

jsmorley » April 17th, 2019, 12:18 pm

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: 12
Joined: February 14th, 2012, 11:21 pm

Re: [HELP] !ActivateConfig Bang

vipe7 » April 17th, 2019, 4:16 pm

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