Close tab over command line parameters

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Booyeoo
User
Posts: 2
Joined: Sun Jun 20, 2010 11:15 am

Close tab over command line parameters

Post by Booyeoo »

Hello,

i am writing my masterthesis using texnicCenter and the wonderful pdf xchange viewer for viewer the generated pdf.
the only problem i have, is that i always have to close the tab where my file is opened.

there is a possibility to run a batch file via texnicCenter before opening the file again.

Is the a command line parameter to close a specific tab?

something like
pdfxcview.exe -closetab "myopenedtab" ?

cheers for any help
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Close tab over command line parameters

Post by Stefan - PDF-XChange »

Hello Booyeoo,

As discussed in this topic:
https://forum.pdf-xchange.com/ ... =35&t=3143

You can use /close:mode=discard <filename> to close an already opened document before updating it.

Regards,
Stefan
Booyeoo
User
Posts: 2
Joined: Sun Jun 20, 2010 11:15 am

Re: Close tab over command line parameters

Post by Booyeoo »

Thanks,

the codeline for latex output (before compilation) is:

/close:mode=discard %tm.pdf

cheers
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Close tab over command line parameters

Post by Stefan - PDF-XChange »

Glad I could help :)

Best,
Stefan