I actually tried searching for this but only got web parser results.
I just wanted to know if RM supports Relative Paths or not?
RM is installed here:
D:\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\Rainmeter4_(x64)_sps
But I tried the traditional method of launching Waterfox using this:
LeftMouseUpAction=["..\MyApps\WaterfoxPortable\WaterfoxPortable.exe"]
It is currently April 26th, 2024, 4:40 am
Relative Paths to launch apps
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
-
- Developer
- Posts: 22630
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Relative Paths to launch apps
Paths in Rainmeter will be relative to the skin .ini file they are executed from, not from the installation folder for the Rainmeter application.sl23 wrote: ↑August 8th, 2019, 2:08 pm I actually tried searching for this but only got web parser results.
I just wanted to know if RM supports Relative Paths or not?
RM is installed here:
D:\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\Rainmeter4_(x64)_sps
But I tried the traditional method of launching Waterfox using this:
LeftMouseUpAction=["..\MyApps\WaterfoxPortable\WaterfoxPortable.exe"]
So they are relative to #CURRENTPATH#.
You might want to use a more specific path:
LeftMouseUpAction=["#PROGRAMPATH#..\MyApps\WaterfoxPortable\WaterfoxPortable.exe"]
https://docs.rainmeter.net/manual/variables/built-in-variables/#PROGRAMPATH
This will start at #PROGRAMPATH# for Rainmeter, then march "up" (..) one level, and "down" into MyApps and so forth to find the executable.
This assumes, based on what you posted, that WaterfoxPortable.exe is at:
D:\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\MyApps\WaterfoxPortable\WaterfoxPortable.exe
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Relative Paths to launch apps
There ya go with the Variables again! You just love 'em don'tcha?
Ta very much.
And just like to say a very big thank you for providing such an amazing, functional app and support for free for all these years!
Ta very much.
And just like to say a very big thank you for providing such an amazing, functional app and support for free for all these years!
- MuLab -