🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Robert_Oschler Wed, 24 Dec 2008 23:48
How to pass multiple words as a search argument on the Acrobat Command Line?
#2407
Author: Robert_Oschler
Date: Wed, 24 Dec 2008 23:48
17 lines
1761 bytes
I am trying to launch Acrobat using a multi-word search parameter on a Windows XP box. However, Acrobat is stripping the spaces between words. For example, I am trying to load Acrobat and have it search for the phrase "vision changes" using a Command Line like this:

C:\>"C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe" /A search="vision changes" c:\temp\theDocument.pdf

When Acrobat loads, it shows the search panel with the phrase "visionchanges" in it. The space between the two words is gone and naturally it can't find the phrase.

I have read both the PDF Command Line parameter documents I could find. This format works fine for URLs, but for Shelling Acrobat on the local system, it doesn't work because of the space stripping problem. I have tried lots of different variants of quote characters, escape characters, even HTML characters like "&nbps;", but nothing works.

Does anyone have an answer?

For the curious here are links to the two PDF documents I found that cover the command line arguments:

 <http://www.adobe.com/devnet/acrobat/pdfs/PDFOpenParameters.pdf>
 <http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf>

Thanks,
Robert
Re: How to pass multiple words as a search argument on the Acrobat Command Line?
#2441
Author: Grunty
Date: Sat, 27 Dec 2008 23:16
7 lines
1166 bytes
Hey Robert,

Did you note that in the "pdf_open_parameters.pdf" document, it says that the value of the Search parameter is treated as a list of (single) words, not as a string of words (phrase)?

It says it explicitly: "You can search only for single words. You cannot search for a string of words."

PS: I'm replying to your query as a sort of thank you for posting the links to those documents. It helped me to find the way of conditioning how to open a pdf.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads