Create an empty INI file, name it Tym.ini and Save it in the same folder as the code above. After refreshing Rainmeter, load the first file and click on it. After that you can toggle the previously empty skin.
the DA GALLERYFor some Reason, the square root of X2 does not involve X
Oooh I started the topic and don't have enough time to read it now
I do not know LUA (yet), but I understand it will be necessary to learn for this to work. I haven't worked with Powershell neither, so that will be new area for me to cover too.
death.crafter wrote: ↑September 14th, 2021, 5:37 pm
Then define a function that will delete the config upon deactivation, tho deactivation should not be triggered by OnCloseAction.
I do see why. Thank you for pointing that out.
David8192 wrote: ↑September 17th, 2021, 11:11 pm
Create an empty INI file, name it Tym.ini and Save it in the same folder as the code above. After refreshing Rainmeter, load the first file and click on it. After that you can toggle the previously empty skin.
Unfortunately, that would work for only previously defined number of skins. (In your example for just one skin Tym.ini) I am thinking about creating as many skins as the user wants. (And I hope they will be reasonable )
Edhel wrote: ↑September 18th, 2021, 6:28 pm
Oooh I started the topic and don't have enough time to read it now
I do not know LUA (yet), but I understand it will be necessary to learn for this to work. I haven't worked with Powershell neither, so that will be new area for me to cover too.
I do see why. Thank you for pointing that out.
Unfortunately, that would work for only previously defined number of skins. (In your example for just one skin Tym.ini) I am thinking about creating as many skins as the user wants. (And I hope they will be reasonable )
Edhel wrote: ↑September 18th, 2021, 6:28 pm
Unfortunately, that would work for only previously defined number of skins. (In your example for just one skin Tym.ini) I am thinking about creating as many skins as the user wants. (And I hope they will be reasonable )
I was hoping that a text input box could be used to define some parameters including the number of skins. (Maybe Powershell could be alright after all - if it can autogenerate folders and empty skins, that is)
the DA GALLERYFor some Reason, the square root of X2 does not involve X
death.crafter wrote: ↑September 18th, 2021, 7:37 pm
Something like this.
Wow, thank you for pushing me the right direction I had some issues to get the powershell running but it finally works. (The for some reason, I couldn't run a script in the @Resources folder...)
David8192 wrote: ↑September 19th, 2021, 11:55 pm
I was hoping that a text input box could be used to define some parameters including the number of skins. (Maybe Powershell could be alright after all - if it can autogenerate folders and empty skins, that is)
I came to the same conclusion - I will probably add some input to let the user set how many skins they want. Unless there is a way how to load the new skin without refreshing Rainmeter. I do like the idea that death.crafter suggested:
death.crafter wrote: ↑September 14th, 2021, 5:37 pm
Writekeyvalue OnRefreshAction to
- - - ActivateConfig NewConfig and
- - - Writekeyvalue OnRefreshAction to blank.
However it could easily become annoying with five or more new skins. So we can let the user create set of 10 new skins, refresh Rainmeter and then just let them to modify (set the desired app for launcher or so) and place it somewhere.
I would really love to avoid refreshing Rainmeter at all. I know it is possible to write new values into the main Rainmeter config so we could add the new skin there, but I guess Rainmeter has the data stored in some session while running and there is probably no way to access that... I wonder what would the Devs say to that idea...