Solved

Acrobat Reader via command line to named destination

Posted on 2007-03-27
2
2,799 Views
Last Modified: 2007-12-19
I am trying to launch Acrobat Reader, from the command line,  to a destination (not a Bookmark) within a PDF file.
Here is the line from my batch file:
"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /A "nameddest=ABC=OpenActions" "H:\Test\MyPDFtest.pdf"

It always goes to the first page of the PDF rather than the named destination.

Other open actions work OK   eg. "zoom=1000=OpenActions"

I can get to the named detsination when I go there via a URL but I need to get there via a launch of the Reader at the command line.  Any ideas?
0
Comment
Question by:Letterpart
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 18810489
Why are you using the "=OpenActions" in your command lines? They don't belong there. Try

"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /A "nameddest=ABC" "H:\Test\MyPDFtest.pdf"

This document lists all valid open parameters: http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
0
 
LVL 1

Author Comment

by:Letterpart
ID: 18815794
I was using "=OpenActions" because that is what I found in the Adobe documentation - the same document you referred to.

OpenActions seems to work OK with other options eg. zoom=1=OpenActions

But the way you've set up the command line is working fine - Thanks!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Power PDF (http://www.nuance.com/for-business/document-imaging-and-scanning/power-pdf-converter/index.htm) is the newest product from the Document Imaging division of Nuance Communications (http://www.nuance.com/). It is available in two editions — …
*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question