How to put a custom "Open With" button directly into the menu bar

Ask for help and post your question on how to use XnView MP.

Moderator: xnview

dieters
Posts: 2
Joined: Sun Aug 23, 2026 1:10 pm

How to put a custom "Open With" button directly into the menu bar

Post by dieters »

Hey, I have a custom "Open With", which can be called with "Alt+1".
I want to have a button in the menu bar that directly calls it.
At the moment, I have to click the "Open With" button and then select the option.
button.jpg
I tried to use the --COMMAND-- option, but that does not give the same result, if the image has been altered and not saved.
The --COMMAND-- option passes the original filename as a parameter.
However, "Open With" passes the temporary filename as a parameter.
I need the temporary filename or, if possible, both filenames as parameters.

Does anyone have an idea how this can be realized?
You do not have the required permissions to view the files attached to this post.
Last edited by dieters on Sun Aug 23, 2026 2:41 pm, edited 2 times in total.
cday
XnThusiast
Posts: 4611
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to put an Csutom OpenWith directly as Button in the Menubar

Post by cday »

You might check your spelling throughout, multiple inconsistencies... :wink:

You wish to create a custom 'OpenWith' shortcut?
dieters
Posts: 2
Joined: Sun Aug 23, 2026 1:10 pm

Re: How to put a custom "Open With" button directly into the menu bar

Post by dieters »

Yes, sorry, English is not my native language. I tried to fix it.