Rather than trying to create a list of variants, you can easily load every variant of a skin by using the !ActivateConfig bang.I apologies if I wasnt clear!
WhatI want to do is get (retreive) all variants of a skin using a lua script. (Jsmorley was basically on point)
Plugins wouldnt work. If you still arent sure what "variants" im talking about, it's basically like thisI basically want to use a Lua script to retrieve all .ini files inside MYSKIN/WeatherMonitor (otherwise known as "variations/variants" as I tried to explain earlier)Code:
-- MYSKIN-- -- WeatherMonitor-- -- -- Main.ini-- -- -- Variant1.ini-- -- -- Variant2.ini
For a little more context, I need this for a custom context menu I'm making. I wanted users to be able to view and choose among variants of the current skin they right clicked on directly from the context menu and to be able to do this, I'd first need the actual variants which is where the lua script comes in.
I hope this clears things up!
If you do not specify a file name, the bang will load the next variant each time.
Code:
[Rainmeter]ContextTitle=Next Weather MonitorContextAction=[!ActivateConfig "MySkin/WeatherMonitor"]
Statistics: Posted by eclectic-tech — Today, 12:07 am