10. Workflow Looping

Until now, all of the Automator workflows you’ve created run in sequence from the first action in the workflow to the last—and then they’re done. One time through, and that’s it. In most cases, this type of workflow execution works just fine. In some cases, however, you may need something a bit more robust: a looping workflow that repeats a series of tasks over and over.

For example, suppose you want a workflow that takes a series of time-delayed screenshots for troubleshooting purposes, and then emails them to you for viewing on your iPhone. Sure, you could create this workflow without looping, but it would involve using the same actions over and over again and it would not continue running indefinitely.

In cases like this, ...

Get Automator for Mac OS X 10.5 Leopard: Visual QuickStart Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.