Some of the features are version specific as in added in a later version. When implementing those features it is possible that people are on an older version of Rainmeter, e.g. 4.3. Idk why 4.3 is still final but anyway. For example DefaultWindowX and Y. If we can check the version info it would be easier to implement workarounds accordingly.
I can get the version info from Rainmeter.exe using powershell but it surely wouldn't work for portable versions. So a little addition won't hurt I guess.
Thanks,
death.crafter
It is currently April 19th, 2024, 9:25 pm
[Suggestion]A built-in Variable for version info
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
[Suggestion]A built-in Variable for version info
from the Realm of Death
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [Suggestion]A built-in Variable for version info
(get-process -name rainmeter | select-object FileVersion).FileVersiondeath.crafter wrote: ↑June 12th, 2021, 6:07 am Some of the features are version specific as in added in a later version. When implementing those features it is possible that people are on an older version of Rainmeter, e.g. 4.3. Idk why 4.3 is still final but anyway. For example DefaultWindowX and Y. If we can check the version info it would be easier to implement workarounds accordingly.
I can get the version info from Rainmeter.exe using powershell but it surely wouldn't work for portable versions. So a little addition won't hurt I guess.
Thanks,
death.crafter
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
Re: [Suggestion]A built-in Variable for version info
Hmm... This is a better way than my current one where I retrieved the version info from Rainmeter.exe. But about a variable, is it not possible?
from the Realm of Death
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [Suggestion]A built-in Variable for version info
I imagine it is quite possible. We will look into it.death.crafter wrote: ↑June 12th, 2021, 11:02 am Hmm... This is a better way than my current one where I retrieved the version info from Rainmeter.exe. But about a variable, is it not possible?
You can find out quite a lot of info about the Rainmeter process with:
get-process -name rainmeter | select-object *