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

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

Moderators: helmut, XnTriq, xnview

Post Reply
Mixer
Banned
Posts: 166
Joined: Fri Aug 28, 2015 6:24 am

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

Post 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.
Last edited by Mixer on Fri Jun 10, 2016 10:39 am, edited 2 times in total.
captaincavern
Posts: 44
Joined: Fri Dec 13, 2013 6:31 am

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

Post 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.
Mixer
Banned
Posts: 166
Joined: Fri Aug 28, 2015 6:24 am

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

Post 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!
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

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

Post 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

Post Reply