Solved

Acrobat Reader via command line to named destination

Posted on 2007-03-27
2
2,699 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
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
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…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now