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

bookmark to open attached file

rbogie
Registered: Apr 28 2008
Posts: 432

is there a way (javascript?) to point a bookmark to open an attached file (a text file)?

My Product Information:
Acrobat Pro 9.1.3, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi rbogie,

Do you specifically need to do this via a script? You can set the action for the bookamrk to open an attached file through the properties dialog for the bookmark. This tutorial by Ted Padova shows how to do that-

http://www.acrobatusers.com/tutorials/2007/02/bookmarks_for_docs

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
rbogie
Registered: Apr 28 2008
Posts: 432
conceivably there could be a solution using javascript, but I can't find one in 'Acrobat SDK'. there appears to be no way to create a bookmark action that opens an attached file (analogous, say, to opening an attached file with a hyperlink created with the 'attach file as comment' tool). in the 'select action' dropdown (bookmark | properties | actions tab) there is no selection like 'open an attachment' and you can't open an attachment with 'open a file'. perhaps there is a clever, maybe javascript, tweak-around that I am missing.