Hello, I'll just start by saying this is most likely not an issue in the grand scheme of things, it's really just pointing something that is missing from the built-in variables that MIGHT be a non sequitur problem once in a blue moon.
Currently I'm making a skin where I'm reading the Rainmeter Setting File to get the the section names and weather that section is Active or not.This code works for it, it just gets the Setting Path, appends Rainmeter.ini and bam we got the setting file.
My only though is, what do I do with users who have lunched Rainmeter using a custom IniFile?
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'm pretty sure no one on Earth, the Moon or Mars is using Rainmeter like this, for me it's just an "eh, I'll just let my code be like this, I know it works for 100% of the people that try it anyways". Rainmeter.exe !Bangs assume Rainmeter is running and dose its actions only on the very first opened one, RestartRainmeter.exe however initializez Rainmeter assuming Rainmeter.ini, so I'm doing the exact same thing as it. If this really was a problem, it would have been brought up a long time ago when RestartRainmeter.exe was introduced.
I'm just wondering since I ran into this and I'm curious, is there anything to do? Plugins can get the """"""""Setting File"""""""""... or maybe not, when I first read that line I was so happy, but then I read what it dose and then read it again because I thought I read it wrong, I laughed a bit and yeah there's where I'm at rn.
Currently I'm making a skin where I'm reading the Rainmeter Setting File to get the the section names and weather that section is Active or not.
Code:
[SettingsFileStuff]Measure =WebParserURL =file://#SETTINGSPATH#Rainmeter.ini
My only though is, what do I do with users who have lunched Rainmeter using a custom IniFile?
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'm pretty sure no one on Earth, the Moon or Mars is using Rainmeter like this, for me it's just an "eh, I'll just let my code be like this, I know it works for 100% of the people that try it anyways". Rainmeter.exe !Bangs assume Rainmeter is running and dose its actions only on the very first opened one, RestartRainmeter.exe however initializez Rainmeter assuming Rainmeter.ini, so I'm doing the exact same thing as it. If this really was a problem, it would have been brought up a long time ago when RestartRainmeter.exe was introduced.
I'm just wondering since I ran into this and I'm curious, is there anything to do? Plugins can get the """"""""Setting File"""""""""... or maybe not, when I first read that line I was so happy, but then I read what it dose and then read it again because I thought I read it wrong, I laughed a bit and yeah there's where I'm at rn.
Statistics: Posted by Jeff — Yesterday, 9:23 pm — Replies 1 — Views 50