Not to hijack a thread, but I need something else entirely. I have been trying to get a script to extract the bookmark, and the pages to the next bookmark, and name them after the bookmark. Like extracting chapters in a book to separate files.
I get a 500 page PDF with loan documents in it, bookmarked the Note, the Mortgage, Title policy etc. I need to extract those sections and hopefully name them after the bookmark. So if page 0 is bookmarked "Note", 1, 2 ,3, pages, then the next bookmark on page four is "Flood", I need pages 0,1,2,3 extracted to a file called "Note". Then the next to "Flood" and so forth through the entire file. I am using Acrobat Pro XI, so a javascript or sequence is preferred.