These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Open Parameters not work

deadfish
Registered: May 10 2009
Posts: 6

I have a javascript file, which allow users to browse a pdf file located at the local hard drive. How to open the pdf file to a bookmarked page?

I have tried to create bookmarks, named destinations and open the file as:
"c:\mypdf.pdf#nameddest=mydest"

It opens the file, but it doesn't jump to the bookmarked page.

How to link to the destinated page in the javascript file? I am using Acrobat 8.1.3 with Adobe Reader 8.1.4. Thanks a lot!

gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
The pdf open parameters only work with HTML links. If you need to do this for a networked dirve, you can create destinations and open going to the destination or add JavaScript to open the PDF and goto the page or execute the bookmark.

George Kaiser

deadfish
Registered: May 10 2009
Posts: 6
That means it will work for a mapped network drive??

or the URL must be in : "http://......."

cannot be "Z:\".....etc?
daka630
Expert
Registered: Mar 1 2007
Posts: 1420
Quote:
That means it will work for a mapped network drive??
No; a mapped network drive is not a URL.

URL = http:// or one of the other schemes designated by W3C.

Mapped drives, \\server name\share, etc. would be UNC; not URL.

Be well...

Be well...

deadfish
Registered: May 10 2009
Posts: 6
I have also tried:

http://mypage/mypdf#nameddest=mydest-1

It fails to jump to the nameddest

only AcroRd32.exe /a nameddest=mydest-1 "C:\mypdf.pdf"

could works....
daka630
Expert
Registered: Mar 1 2007
Posts: 1420
Quote:
http://mypage/mypdf#nameddest=mydest-1
The target file is missing its file extension (".pdf")
Try:
Quote:
http://mypage/mypdf.pdf#nameddest=mydest-1
Be well...

Be well...