Custom COMMAND button folder parameter
Posted: Sat Apr 01, 2017 10:04 pm
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?
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?