New command buttons on toolbar - can we feed in parameters?
Posted: Fri Apr 26, 2024 7:06 pm
According to this old thread...
viewtopic.php?f=35&t=32557&p=129406&hil ... ar#p129406
...it's "possible to run external editors by adding shortcuts to XnView's toolbar (Tools » Options... » Toolbar » Buttons » Buttons displayed)."
My question is: can we also add parameters to such executables (.exe) files? (it could also be a .bat file, but I've been without seriously fiddling with them for literally decades, so a sample batch file would be more than welcome, assuming we could go down that path)
For example: I'd like to assign to a new button, one of my most used Exiftool commands (which is already set as one of the options under the "Open with" context menu) which goes like ""-FocalLengthIn35mmFormat<${FocalLength#;$_*=1.6}" -overwrite_original -P"
I also fail to check how to tell exiftool to attribute such command to the currently selected file(s).
Anyone able to chime in, please?
Thanks!
viewtopic.php?f=35&t=32557&p=129406&hil ... ar#p129406
...it's "possible to run external editors by adding shortcuts to XnView's toolbar (Tools » Options... » Toolbar » Buttons » Buttons displayed)."
My question is: can we also add parameters to such executables (.exe) files? (it could also be a .bat file, but I've been without seriously fiddling with them for literally decades, so a sample batch file would be more than welcome, assuming we could go down that path)
For example: I'd like to assign to a new button, one of my most used Exiftool commands (which is already set as one of the options under the "Open with" context menu) which goes like ""-FocalLengthIn35mmFormat<${FocalLength#;$_*=1.6}" -overwrite_original -P"
I also fail to check how to tell exiftool to attribute such command to the currently selected file(s).
Anyone able to chime in, please?
Thanks!