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.


bottom of page