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

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

Moderators: XnTriq, xnview

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

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

Postby Mixer » Thu Jun 09, 2016 9:07 pm

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 viewtopic.php?f=35&t=32557&p=129406&hilit=toolbar#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: 37
Joined: Fri Dec 13, 2013 6:31 am

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

Postby captaincavern » Fri Jun 10, 2016 6:59 am

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

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

Postby Mixer » Fri Jun 10, 2016 10:37 am

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: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

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

Postby XnTriq » Fri Jun 10, 2016 5:00 pm

Related topics:

C:\Program Files\XnView\foo.bar 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



Return to “Classic - General Support”

Who is online

Users browsing this forum: No registered users and 4 guests