ImageGlass
ImageGlass copied to clipboard
Relative path for Editor
I have portable version Can I use relative path?
Something like in Total Commander Editor=%COMMANDER_PATH%....\SPSSuite\SyMenuSuite\Notepad++_(x64)_sps\Notepad++.exe "%1"
It supports relative path, haven't you tried it out?
Something like without ....
%COMMANDER_PATH%....\SPSSuite\SyMenuSuite\Notepad++_(x64)_sps\Notepad++.exe
If I understood correctly, the request is for a builtin "macro" like "%COMMANDER_PATH% [e.g. "%IG_PATH%"] to provide the "base" path. From which the relative path is applied. The value of "%IG_PATH%" being the folder containing the ImageGlass.exe file.
I'm not certain what the point would be, without the OP providing the use-case.
Sorry for english Image Glass is located along this path d: \ SyMenu \ ProgramFiles \ SPSSuite \ SyMenuSuite \ ImageGlass_ (x64) _sps \
PicPick is located in a different path d: \ SyMenu \ ProgramFiles \ SPSSuite \ SyMenuSuite \ PicPick_sps \
I want PicPick to be called when editing
What's the "base" path for Image Glass?
Understood, thank you for the follow up!
No, there isn't a built-in path variable. You can create one in your environment variables and use that.
For example, one of the pre-defined environment variables is %SystemRoot% and I successfully used it to point to mspaint:
%SystemRoot%\Windows32\mspaint.exe
You can use .\
to get the Startup path of ImageGlass.
Let's say your folder structure is like:
D:\Softwares
|--MS Photos
| |--photos.exe
|
|--ImageGlass
| |--ImageGlass.exe
| |--igcmd.exe
To get the path of D:\Softwares\MS Photos\photo.exe
, you can use:
-
".\..\MS Photos\photos.exe"
, or -
"..\MS Photos\photos.exe"
that's weird, make sure your relative path is correct. In my test, the folder structure is like this:
|--ig\
| |--ImageGlass.exe
|--net6.0-windows\
| |--HapplaBox.exe
It doesn't work ... = ((