I have an autohotkey script that I want to run against the folder open in XnView, but I can't see any way to pass the FOLDER path parameter into the command.
Also, it seems that if you specify a dll or icl for the COMMAND button icon, there isn't any way to tell it which icon to use from the file.
Actually, I don't think it's even running the script when I push the button. c:\path\folder\script.ahk
It works if I compile it to an exe though.
I have a suggestion, then - if the button is in browser mode and no file is selected, that means there is no parameter passed. I suggest that the parameter be the folder path.
Am I missing something, or is MP? Or are there parameters I can use?
Custom COMMAND button folder parameter
Moderators: helmut, XnTriq, xnview
- Brother Gabriel-Marie
- Posts: 286
- Joined: Thu Aug 23, 2007 2:33 pm
- Location: United States
Re: Custom COMMAND button folder parameter
I would rather suggest to implement a simple search & replace function: &&p for path, &&f for the current filename.
Something like this. It is much clearer IMHO.
Something like this. It is much clearer IMHO.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -