It is currently March 28th, 2024, 9:21 pm

Extracting a name out of current dir + use

Get help with creating, editing & fixing problems with skins
taterbugzy
Posts: 2
Joined: February 19th, 2017, 1:12 am

Extracting a name out of current dir + use

Post by taterbugzy »

Basically what I would like to do is take the directory of the .ini, set the folder it is in as a variable, and have that variable as the image name, so if it was in ...\Rainmeter\Skins\Icons\Example\ExampleScript.ini, I would like it to take out the \Example\, and declare that as, say, "Ex1". This would be used to direct the icon to its specific image, like this: #@#Images\#Ex1#.png. I was wondering if this was possible, and if so, how to do it. Thanks.
Bekarfel
Posts: 217
Joined: May 16th, 2012, 5:38 am

Re: Extracting a name out of current dir + use

Post by Bekarfel »

moshi wrote:there are many Rainmeter skins that aren't really useful, so let's add another one.
jsmorley wrote:I have good news and bad news.
First the bad news. [...] We would be happy to have this happen and would love to work with anyone who is feeling ambitious.
Now the good news.
I lied, there isn't any good news...