Working with Java scripts
top of page

Working with Java scripts


Don't miss how easy it can be to write and execute your own Java script in Adobe Acrobat. If you'd like to extract specific page ranges from a PDF, you can use a script like this:

this.extractPages(21,30);

this.extractPages(51,60);

this.extractPages(101,110);

1. On the Tools panel, go to Action Wizard and select 'Create New Action . . . '

2. In the More Tools menu, click on 'Execute JavaScript'.

3. Clicking on 'Specify Settings' will open the JavaScript Editor.

4. Save and name the new action.

5. You will then be able to execute the new action from the Action Wizard menu. This script will quickly extract just the designated ranges.


Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page