Wow, didn't know that! It's not just that though, if you drag such an .ini to the Rainmeter executable while you're still running Rainmeter, several Rainmeter files and folders (see the bottom Explorer window) will be copied to the folder where you dragged that .ini from (in this case, to the Desktop folder), and visually, your existing Layout (for me, my skin suite's one, visible at the top of the screenshot) will be "merged" with the Layout in the dragged .ini (in my case, I just renamed the Illustro's Rainmeter.ini to be my haha.ini file, just to limit the potential "damage"), because there will be two Rainmeter executables running (see the notification area at the bottom right of the screenshot): Not sure about what this feature is supposed to do, but my guess is that it's probably something related to the ability to alternatvely use Rainmeter as a portable application - at least that's how it looks like.For those who don't know, if you close Rainmeter, make a file named haha.ini on your desktop and drag that file over the Rainmeter executable, you will see in the About > Version tab that the IniFile is indeed the file you drag and dropped from the desktop, if for some reason you run Rainmeter like this, my #SETTINGSPATH#Rainmeter.ini will not work here.
I'll have to clean up the results of this experiment, but it was fun seeing what can be done once in a while. As for getting the "Rainmeter.ini" actual name (like "haha.ini", in this case), it looks like a legit feature to have. I'll add one more, less important, but since we're at it: the #CURRENTFILE# name, but without the dot or the extension. I know one can easily have a String measure and remove the ".ini" part in a Substitute, but in some cases it might be useful to have just the name and nothing else, so we can quickly append the desired extension to it (e.g. image extensions for skin icons, .inc extensions for configurations corresponding to the current skin, etc).
P.S. I'm sure you know it already, but if you need an alternative way to find whether a skin is active, you can use ConfigActive too, you don't have to rely exclusively on parsing the "Rainmeter.ini" file. It'd be interesting to know if the plugin works with the "haha.ini" tricks as well, though I don't see why not.
Statistics: Posted by Yincognito — Yesterday, 11:01 pm