I have a rather complex folder structure in which all of the files are PDFs. I am trying to merge them into one PDF document but want to retain the hierarchy in the bookmarks. I have tried searching the forums and internet but haven't had any luck.
Thanks
There are no file system operations in Acrobat javaScript so you can't write a script to do the file insertion (unless you already have a list of file paths) and since you are on standard you can't use a batch process. So you need a way concatonate the files together that also saves the original file structure.
I think the best approach is to use the Acrobat Interapplication Communication (IAC) interface to write an Apple script to insert the files into a master document. Part of this process could be either creating the bookmarks or saving the original doc path info into a hidden field on the page you want bookmarked. Then a post processing script could be used to create the bookmarks.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script