/close is amazing, how about /minimize too

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

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
hermit
User
Posts: 2
Joined: Mon Jul 21, 2008 4:57 am

/close is amazing, how about /minimize too

Post by hermit »

I am amazed the newest version supports the /close command line parameter, which is really useful for TeX users. How about a /minimize command line parameter too so the program window will not be forced to the foreground when my latex script is closing the file? i.e. I want to continue with my TeX writing when my script is closing the pdf file.
Tom - Tracker

Re: /close is amazing, how about /minimize too

Post by Tom - Tracker »

Noted :)
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3550
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: /close is amazing, how about /minimize too

Post by Ivan - Tracker Software »

into build 39, when /close parameter used, behaviour of the viewer will be changed - now it will not stay foreground.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
User avatar
BigMike
User
Posts: 307
Joined: Wed Nov 07, 2007 10:07 am

Re: /close is amazing, how about /minimize too

Post by BigMike »

Very nice, thank you!! :)
quant
User
Posts: 151
Joined: Fri Jan 18, 2008 2:48 pm

Re: /close is amazing, how about /minimize too

Post by quant »

Hi,

does any of you use WinEdt by any chance? I have a problem of setting it with pdf-xchange, well basically I don't know how to set it. It opens with pdf-exchange fine, but don't know where to tell WinEdt to use /close parameter.

Thanks
quant
User
Posts: 151
Joined: Fri Jan 18, 2008 2:48 pm

Re: /close is amazing, how about /minimize too

Post by quant »

OK, got it, for those who might be interested, first change path to viewer in Option->Execution Modes->Acrobat
and then edit two files:

1. in Acrobat OpenDoc.edt uncomment the following two lines
// ShellExecute("Open", "%N.pdf","","%P",1);
// Exit;

2. and add the following two lines at the beginning of Acrobat CloseDoc.edt (use your pdf-xchange installation path)
Run("C:\Program Files\Tracker Software\PDF-XChange Viewer\pdf-viewer\PDFXCview.exe %P\%N.pdf /close");
Exit;
quant
User
Posts: 151
Joined: Fri Jan 18, 2008 2:48 pm

Re: /close is amazing, how about /minimize too

Post by quant »

whoops, forgot to say BIG THANKS to developers! BIG THANKS! :)

ps: wasn't there "edit post" function in these forums before?
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

Re: /close is amazing, how about /minimize too

Post by John - Tracker Supp »

Pleasure and yes - edit is still available - button on top right.

cheers
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
quant
User
Posts: 151
Joined: Fri Jan 18, 2008 2:48 pm

Re: /close is amazing, how about /minimize too

Post by quant »

Does /close work in v39 RC2? Seems to stop working for me.
hermit
User
Posts: 2
Joined: Mon Jul 21, 2008 4:57 am

Re: /close is amazing, how about /minimize too

Post by hermit »

you guys are amazing! feature request implemented in less than a week's time!
thanks!
User avatar
BigMike
User
Posts: 307
Joined: Wed Nov 07, 2007 10:07 am

Re: /close is amazing, how about /minimize too

Post by BigMike »

quant wrote:Does /close work in v39 RC2? Seems to stop working for me.
Works fine here!
quant
User
Posts: 151
Joined: Fri Jan 18, 2008 2:48 pm

Re: /close is amazing, how about /minimize too

Post by quant »

BigMike wrote:
quant wrote:Does /close work in v39 RC2? Seems to stop working for me.
Works fine here!
OK, I found out what has changed. Before it worked like this

PDFXCview.exe file.pdf /close

Now, it works like this:

PDFXCview.exe /close file.pdf
Wamma
User
Posts: 69
Joined: Thu Feb 07, 2008 3:52 am

Re: /close is amazing, how about /minimize too

Post by Wamma »

I like the /close switch, but it behaves annoyingly when PDF XChange is set to display each PDF in a single/separate instance (Options checked: Single Document and Allow Multiple Instances). When it is called with the /close switch, the target PDF file is closed, but an empty window is left open. Is there anyway to have it close the whole thing?
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3550
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: /close is amazing, how about /minimize too

Post by Ivan - Tracker Software »

sorry, will fix this.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Post Reply