Copy link to clipboard
Copied
I have used programming to create bookmarks for multiple .pdfs. The problem is that the bookmarks were set via JavaScript to be relative to the document, i.e, this.pageNum=X. When I do further combinations, the bookmarks are thrown into disarray because the page numbers and size of the document change upon combination.
What I'm doing now, before combining files, is clicking each bookmark, then doing a right-click "Set Destination" to "fix" the bookmark to the current page. That fixes the problem, and removes the JavaScript from the destination. I can further combine those files and everything works.
However, this is manual and I was wondering if there was a way to automate this through scripting, or if it is not possible.
Appreciate the insight of anyone who can help.
Have something to add?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more