Programmatically Creating a Bookmark To a Page Without JavaScript Actions
I am using JavaScript to programmatically create bookmarks to specific pages (e.g. bookmarkRoot.children[0].children[0].createChild("My Bookmark", "this.pageNum=77");).
This works but I am sending the PDF to a company who do not allow JavaScript within documents. Is there a way to set a bookmark to a destination page programmatically without associating it with a JavaScript action?
I can go into the document, click on each bookmark to go to the correct page, then select Set Destination and that will replace the JavaScript actions with Adobe actions but I have to do this for many documents so would like to find an automated way of doing it.
