Article View: adobe.reader
Article #2407How to pass multiple words as a search argument on the Acrobat Command Line?
From: Robert_Oschler
Date: Wed, 24 Dec 2008 23:48
Date: Wed, 24 Dec 2008 23:48
17 lines
1761 bytes
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
Technical Details
Message-ID:
<59b75a01.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 10273d,bd332080764ef053,start X-Google-Attributes: gid10273d,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Robert_Oschler@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.reader Subject: How to pass multiple words as a search argument on the Acrobat Command Line? Message-ID: <59b75a01.-1@webcrossing.la2eafNXanI> Date: Wed, 24 Dec 2008 15:48:15 -0800 Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit