Open a pdf with a text to search in argument.  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

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

gauthierDC
User
Posts: 7
Joined: Thu Apr 09, 2026 12:04 pm

Open a pdf with a text to search in argument.

Post by gauthierDC »

Hi,
I would like to know if there is a way to open a pdf with a text to search in argument.
Example: search "Tel: +44 (0)20 8503 8711" in the .\Help\PDFXVE10Sm.pdf file

Code: Select all

PS C:\Program Files\Tracker Software\PDF Editor> .\PDFXEdit.exe .\Help\PDFXVE10Sm.pdf -s  "Tel: +44 (0)20 8503 8711"
In my situation, i have a string generated by an external software, and I need to make sure that it is well positioned in the pdf (manual visual inspection).

Since I have a lot of information to seek, and the inspection is really quick, jumping from a software to another and copy past the text to search is time consuming.
Thanks!
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 13152
Joined: Wed Jan 03, 2018 6:52 pm

Re: Open a pdf with a text to search in argument.  SOLVED

Post by Daniel - PDF-XChange »

Hello, gauthierDC

I don't believe there is a way to do so via the command line options offered, but I am checking with the Dev team to see if there is a possibility I am unaware of.

[Edit] I am apparently losing memory like a faucet this week - there most definitely is a command line option for this, which I have used in the past and just forgot exists.

Code: Select all

PDFXEdit.exe /A search="sample search words" “D:\test.pdf”
Enjoy!

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
[email protected]
gauthierDC
User
Posts: 7
Joined: Thu Apr 09, 2026 12:04 pm

Re: Open a pdf with a text to search in argument.

Post by gauthierDC »

Great! Exactly what I was looking for!

Having a web page with the arguments at launch would be appreciable :)
Willy Van Nuffel
User
Posts: 2873
Joined: Wed Jan 18, 2006 12:10 pm

Re: Open a pdf with a text to search in argument.

Post by Willy Van Nuffel »

That list is available in the on-line manual for PDF-XChange Editor (currently version 10):

https://help.pdf-xchange.com/pdfxe10/co ... ns_ed.html

Look for the switch "/open" ("/A" can also be used for this command).

Kind regards.
gauthierDC
User
Posts: 7
Joined: Thu Apr 09, 2026 12:04 pm

Re: Open a pdf with a text to search in argument.

Post by gauthierDC »

Thanks!
These options are really powerful
User avatar
Sean - PDF-XChange
Site Admin
Posts: 1160
Joined: Wed Sep 14, 2016 5:42 pm

Re: Open a pdf with a text to search in argument.

Post by Sean - PDF-XChange »

Hi gauthierDC,

Glad to hear that was of some assistance to you, and thanks as always to Willy for his help here.

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623