Hello,
Is it possible to use Javascript to extract pages using the bates numbers?
Why? I have a single PDF files containing different invoices. Some invoices can be one page but some can be multi-page. I need to extract the single PDF file to single invoice PDFs. So you can either have 1 page 1 invoice pdfs and 5 page 1 invoice PDFs for longer invoices.
The idea is the following that I would add bates numbers to the documents but for those multi-page invoices I would manually change the bates number using the "Edit Text & Images" button so all the pages for that multi-page invoice would have the same bates number. After that I would like a Javascript command to extract the pages into PDF files where all the pages with the same bates numbering would extract into the same file?
Is it possible? Or is it possible to do it a bit easier with bookmarks and extracting bookmarked pages with Javascript based on the bookmark name?
Thank you for the help,
Elari