It is definitely possible, I think you might have misunderstood, so I apologize if I wasn't clear. The !DeactivateConfig band will deactivate any variant of a skin (the exact config name is not a parameter). So, for example, to deactivate any variant of the wireless meter, you use:MourningStar wrote: ↑August 14th, 2021, 10:23 pm Ah, correct - that is why nothing happened. Now it work as per these 'conditions'.
Understood - i.e. the variants are 'locked' into this process because of the required 'configname' parameter.
still, not what I'm after. Looking to 'load'/'unload' the specific skin (and the variant on display at the time).
So, not possible to do what I need? If I am not clear perhaps I can re-word the op.
Code: Select all
"C:\Program Files\Rainmeter\Rainmeter.exe" !DeactivateConfig "Gadgets\Wireless Meter"
Code: Select all
"C:\Program Files\Rainmeter\Rainmeter.exe" !ActivateConfig "Gadgets\Wireless Meter" "Wireless Meter.ini"
From your initial post, it seems like you wanted to activate and deactivate skins via batch files that you bound to some keys. If so, then this is definitely possible. Your "turn on wifi" batch file would 1) run the command to turn on your wireless connection and 2) run Rainmeter with the !ActiveConfig bang to load the Wireless Meter. Your "turn off wifi" batch file would do the reverse: 1) run the Rainmeter command to deactivate the Wireless Meter (whichever one is running), then 2) turn off your wireless connection.
Perhaps if you posted your batch files it would help?