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

Save Page script

djfixxx
Registered: Mar 22 2007
Posts: 111

I would like ot know if there is a script to Save Page, Save a particular page like page 6 of a 9 page PDF.

It professional, networking, technical, graphical, imaging, froms.

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can extract pages. Take a look at the "doc.extractPages" function in the Acrobat JavaScript Reference. Note that this is a heavily protected function. It cannot be run from a script in a PDF file, or from within Reader. It can only be run from a batch script, trusted function, or the JavaScript Console.

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

wingateg3
Registered: Jan 7 2008
Posts: 25
Question on this general topic...

Once I Reader-enable a document, a working menu item for "doc.extractPages" folder level script (trusted function) no longer works in Pro or Standard...

I need the document reader-enabled so users with only Reader can sign and email the PDF, but the automated extract/save menu items then need to work for one user with Standard...

Is this possible once I have Reader-enabled the document, if so, what are some options? Thanks in advance...

Edit: Another option-- there is an intermediate step that the Standard user has to do that is currently setup as a "saveAs" trusted function...is there a way to call the "File" menu item "Save a copy" with an automated folder path??? This would remove the reader-enabled, and then the user could go to that folder to perform the extract/ save functions...