You can perform JavaScript commands on files using the Commands option in the Batch Process dialog box.

To set command options for batch-processed files:

  1. Click the Plus (+) button (Windows) or the triangle (Macintosh) beside the Commands option in the Batch Options list to view the available commands.
  2. Select a command and click Add to add it to the Include in Batch list.

    NOTE

    These commands cannot be edited.

  3. Click Next to continue the batch process.

    For information on completing the batch process, see Batch processing. For more information on creating commands, see Scripting with the History panel.

    NOTE

    Some commands do not work during a batch process. Select commands that work within the document without requiring any object to be selected.