These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Extract bookmark pages

TrudyF
Registered: Dec 8 2005
Posts: 17
Answered

I hope someone can help me. I need to extract pages from a PDF and name the extracted PDFs with the bookmark name. Can that be done? Would it be a batch process using JavaScript? If so, could you give me the JavaScript to use? It is a one time project with 200 pages. I prefer not having to rename each PDF, if possible. Thanks!

My Product Information:
Acrobat Pro 8.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
A Batch Process is for dealing with multiple files, so this won't work for you.

You need an Acrobat automation script. A script to do what you want is not a simple one. It has to run through all the bookmarks and build an associaton between the bookmark name and a page number. Then individually extract each page and save it to the bookmark name.

Is this a one time task or somthing that has to be done periodically?

If you are not a programmer then you need to hire one. If you are a programmer then you can start by reading the Acrobat JavaScript Guide and the Acrobat Reference at:

http://www.adobe.com/devnet/acrobat/javascript.php

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script