Peachpit Article > Individually Looping Through Files in an Automator Workflow

03.25.09 - Individually Looping Through Files in an Automator Workflow.

Since its inception, Automator in Mac OS X has seen numerous improvements. One such improvement, which was introduced with the release of Mac OS X 10.5 Leopard, is the ability to create looping workflows.

Creating a looping workflow is relatively straightforward. Simply insert the Loop action, found in the Utilities category in Automator's action library, into the desired location within your workflow. When the workflow runs and reaches the Loop action, Automator returns to the beginning of the workflow and starts again. The Loop action offers some options; for example, it can be set to loop automatically for a specified number of times or minutes, or to ask you if you want to continue looping or proceed with the remainder of the workflow. You even have some control over how the workflow's input is handled between loops.

Although a fine start, looping of this nature still possesses one major limitation: There's no way to loop through a series of files, passing them one at a time through your workflow [Read more at Peachpit.com...]