Quantcast
Channel: XnView Software
Viewing all articles
Browse latest Browse all 4990

Custom Command Button in Toolbar

$
0
0
by Brother Gabriel-Marie (Posted Wed Apr 13, 2016 9:34 pm)
Today I went to add a custom button to the toolbar (the way I used to in Classic).
I added Photoshop as the command, and set the label,
but then I noticed the icon wasn't showing up.

The text for the button where you fetch the icon is missing:
screenshot_xnviewmp_001.png


However, after you set the command and go back into customize the button again, the button label changes to:
screenshot_xnviewmp_002.png


I think the button label should be something like "Set Icon...".

AND, when you go to specify the icon location, you can't choose the exe file.
screenshot_xnviewmp_003.png

And if you use the dropdown to change the file filter to * you CAN choose .exe and .dll, but it doesn't do anything - they don't seem to load from those files.

IMHO, when you choose an .exe as the command, it's icon should be loaded from the .exe file by default; you shouldn't even have to select the icon.
But you SHOULD be able to choose from the icons *inside* exe and dll file resources.

Also, just like in Classic, you can choose an executable for the CUSTOM_COMMAND, but you don't get any option to add commandline parameters. I think there should be another field for parameters along with a little dropdown so you can choose-to-insert substitution-tokens such as file-name, etc. Right now, sure, you can create a custom button to launch Photoshop, but you can't open any files with that button! (yes, I am aware I could right-click on the file and use the open-with menu in MP - but *I LIKE BUTTONS*) In Classic you were forced to create scripts or batch files and link to those if you wanted special parameters. But this is MP! :D

Now, I am using MP 64bit v.79, and am choosing the 64bit Photoshop executable here, if that makes any difference.

Read Main Topic

Viewing all articles
Browse latest Browse all 4990

Trending Articles