open PDFX Viewer with opened search & doc properties

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

joemouth
User
Posts: 6
Joined: Sun Mar 16, 2008 12:16 am

open PDFX Viewer with opened search & doc properties

Post by joemouth »

Hi all,

is it possible to open PDF-XChange Viewer (registered) with:

1) a pdf document and document properties dialogue opened?

2) with advanced search dialogue opened?

Thanks for all hints & tipps
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2476
Joined: Thu Jun 30, 2005 4:11 pm

Re: open PDFX Viewer with opened search & doc properties

Post by Vasyl - PDF-XChange »

Hi, joemouth.

It's possible.
Look to CommandLines.txt in the attached archive.
You do not have the required permissions to view the files attached to this post.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
joemouth
User
Posts: 6
Joined: Sun Mar 16, 2008 12:16 am

Re: open PDFX Viewer with opened search & doc properties

Post by joemouth »

Vasyl-Tracker Dev Team wrote:Look to CommandLines.txt in the attached archive.
Hi,

thanks for your quick answer.

Unfortunately I get the message:

Code: Select all

'showui' is not recognized as an internal or external command, operable program or batch file.
I copied jsOpenDocPropsDlg.txt and jsOpenFullSearchPane.txt into folder with PDFXCview.exe which is the portable 2.0 (42.2) version.

After that I executed

Code: Select all

PDFXCview.exe /runjs:log&showui "jsOpenFullSearchPane.txt" "mypdf.pdf" 
PDFXCview starts, but the pdf is not opened and the search pane is not shown.

Any idea what I'm doing wrong?
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2476
Joined: Thu Jun 30, 2005 4:11 pm

Re: open PDFX Viewer with opened search & doc properties

Post by Vasyl - PDF-XChange »

Please update to the latest build (2.054).
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
joemouth
User
Posts: 6
Joined: Sun Mar 16, 2008 12:16 am

Re: open PDFX Viewer with opened search & doc properties

Post by joemouth »

Vasyl-Tracker Dev Team wrote:Please update to the latest build (2.054).
It will noit work at all.

But I played around and found that it works without the "log" parameter:

Code: Select all

PDFXCview.exe /runjs:showui "jsOpenFullSearchPane.txt" "mypdf.pdf" 
Thanks very much
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: open PDFX Viewer with opened search & doc properties

Post by Stefan - PDF-XChange »

:)
joemouth
User
Posts: 6
Joined: Sun Mar 16, 2008 12:16 am

Re: open PDFX Viewer with opened search & doc properties

Post by joemouth »

Hi,

1) Is it possible to start without a pdf document like:

Code: Select all

PDFXCview.exe /runjs:showui "jsOpenFullSearchPane.txt"
This will give us the option to start PDFXCview with the search dialog and no document loaded.

The reason is, I do not know the documents name and will search for it.

2) Can I set "start with opened document properties" as default?

The reason is, I scan documents with IrfanView and save them as PDF (compression!) and the option to open it with the PDF reader. This opens the scanned PDF document in PDFXCview and I would like to enter now the document properties.

Many thanks for your help.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2476
Joined: Thu Jun 30, 2005 4:11 pm

Re: open PDFX Viewer with opened search & doc properties

Post by Vasyl - PDF-XChange »

Hi, joemouth.
1) Is it possible to start without a pdf document like:
Code:
PDFXCview.exe /runjs:showui "jsOpenFullSearchPane.txt"
This will give us the option to start PDFXCview with the search dialog and no document loaded.
The reason is, I do not know the documents name and will search for it.
Unfortunately but in current build you cannot display Full Search Pane without opened document(s).
This small issue will be fixed in the next build.
2) Can I set "start with opened document properties" as default?
No, it's impossible.
For display document properties you can run application with specified command line only.

Best
Regards.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.