Script Editor Icon

Inserting routines into your script to process multiple documents

An iterative routine is one that will go through multiple documents, processing each one in turn. You can insert a prewritten iterative routine into your script using the Script Editor’s shortcut menu (also known as the contextual menu).

To insert a routine into your script that will iterate multiple documents:

Step 1

Place the cursor on a blank line in the script.

Step 2

Control-click in the selected area.

Step 3

Choose Iterate Items, and then choose the type of routine you want.

Files of Chosen Folder: Creates a repeat loop for processing each document file of a chosen folder.

Images of Chosen Folder: Creates a repeat loop for processing each image file of a chosen folder.

Items of Finder Selection: Creates a repeat loop for processing each item selected in the Finder.

The routine will be inserted into the script.

Related Topics

shortcut menus