Page 1 of 1

{RESOLVED} "Open with <External application>" to toolbar

Posted: Thu Jun 09, 2016 9:07 pm
by Mixer
XnView can add addons from menu Filter as standalone buttons to toolbar. That's great.
I'd like to have an option to add "Open with <Program name>" from menu File->Open with as a toolbar button too.
I have read this post http://newsgroup.xnview.com/viewtopic.p ... ar#p129406 , but can't figure if it is possible to set call to executable as command for button. From what I tried it doesn't work, and there's no predefined commands like cmd_OpenWith_0.

Re: Ability to add "Open with <External application>" to too

Posted: Fri Jun 10, 2016 6:59 am
by captaincavern
Setting an external program as toolbar button works fine. You create a new button by using the append button and then you browse for an executable and an icon.

Re: Ability to add "Open with <External application>" to too

Posted: Fri Jun 10, 2016 10:37 am
by Mixer
Ah-hah, so that's how it works. When I tried to add button for executable for the first time I skipped setting icon, because buttons for starting addons work even without icon. External app even starts with currently displayed image. Thanks for the tip!

Re: {RESOLVED} "Open with <External application>" to toolbar

Posted: Fri Jun 10, 2016 5:00 pm
by XnTriq
Related topics:
[color=green]C:\Program Files\XnView\foo.bar[/color] wrote:

Code: Select all

[Default Toolbar]
count=1
button1=C:\Program Files\PDF-XChange\PDFXCview.exe,0
cmd1=C:\Program Files\PDF-XChange\PDFXCview.exe

[View Toolbar]
count=1
button1=C:\Program Files\PDF-XChange\PDFXCview.exe,0
cmd1=C:\Program Files\PDF-XChange\PDFXCview.exe

[Browser Toolbar]
count=1
button1=C:\Program Files\PDF-XChange\PDFXCview.exe,0
cmd1=C:\Program Files\PDF-XChange\PDFXCview.exe