Support

Register your Product

Product Documentation

Knowledge Base

Contact Support

Community

User Group

Resources

Application Library

Flow Library

Script Library

Extract even and odd pages - Adobe Acrobat

This flow splits a file into 2 files, one containing only the even pages and another containing only the odd pages of the file.

A JavaScript in the Adobe Acrobat configurator is used to do this.

This flow is compatible with: FullSWITCH, PowerSWITCH 06 Update 5 and higher

Information

Two copies are created from each file that is dropped in the "Input" folder. Each copy goes to a different Acrobat Configurator. Both Acrobat configurators run the same JavaScript on all incoming files but with different properties; one deleting all odd pages and the other deleting all even pages.

The result is that a PDF is created with only the even pages and one containing only the odd pages.

Using this flow

  • Download the flow and save it on your computer: download flow
  • Launch one of the SWITCH products this flow is compatible with
  • Use the “Flow > Import…” menu item
  • In the dialog that is shown, select the flow file

The flow now appears in the flow list. You can now examine or customize it to your needs.

  • Save the Java Script locally on your computer.
  • Select the Acrobat configurator in the example flow.
  • In the "save as" properties section, browse to the JavaScript.
  • Enter a correct value for arument 1 and 2
    Argument 1: "O" for extracting even pages "1" for extracting odd pages.
    Argument 2: suffix text that needs to be added to the file name after extracting the pages.

© Copyright 2007 by Gradual Software.