Learn by Example

The power of Automator can be extended through the installation of Automator action files. Automator actions are written in Xcode, Apple’s premier development tool, using one of three project templates, and incorporating any language or frameworks supported by Mac OS X. For detailed information on creating Automator actions, click here.

The following actions are editable examples of how the functionality of Automator can be extended, and are posted here as an instructional resource for developers.

Dispense Items Incrementally

This action is used to take a group of Finder disk items and process them one-at-a-time.

To use, place this action after an action that passes references to Finder disk items, such as the Get Selected Finder Items, or Get Specified Finder Items actions. The disk items references passed by those actions will be dispensed individually by this action as the workflow loops. The workflow will automatically stop once each of the passed disk items has been processed. NOTE: the workflow must be designed to repeat by placing the Loop action at the end of the workflow.

Download the action installer.
Download the Xcode project files.

Version: 1.0 • Mac OS X 10.5

New Safari Browser with Tabs

The New Safari Browser with Tabs action will create a new Safari browser window with tabs for each of the URLs passed from the previous action.

Download an installer for the action and related Xcode project files.

Version: 1.0 • Mac OS X 10.5

Extract iWeb Photo Gallery Feeds

The Extract iWeb Photo Gallery Feeds action will examine the webpage whose URL is passed from the previous action. If the webpage was created by the iWeb application and is a photo album page, the action will derive the RSS feed link for the image files whose thumbnails are displayed on the webpage, and pass that RSS feed link to the next action in the workflow.

Download an installer for the action and related Xcode project files.

Version: 1.0 • Mac OS X 10.5

Audio Actions

A collection of actions for working with audio files.

The Encode to iTunes Audio action will encode audio files passed from the previous action to MPEG audio (AAC).

The Play Audio Files action will play the audio files passed from the previous action. You can set the time delay between playing of multiple tracks.

The Play System Sound action will play the chosen system sound the indicated number of times.

View a complete description of the actions and an example workflow to create an encoding application.

Download an installer for these actions and related Xcode project files.

Version: 1.0 • Mac OS X 10.5

Add Image Files to Slideshow

This action will add image files, passed from the previous action, to a currently open Keynote slideshow. If there is no open Keynote slideshow, one will be created.

Optionally, any IPTC captions, embedded into an image file, can be extracted from the file, added to the slide’s presenter notes, and then rendered to disk as a spoken audio file using the built-in Mac OS X text-to-speech architecture. Each audio clip is then automatically imported into its corresponding slide, and the audio source files will be created in the same folder as the slideshow. If the slideshow has not yet been saved, the audio files will be created in the Music folder instead.

Download an installer for the action and related Xcode project files.

Version: 1.0 • Mac OS X 10.5

Wait for Files to Copy

This action will wait for files of indicated types to finish being copied into their containing folder.

Place this action at the beginning of a workflow that will be saved as a Folder Actions plugin, or after an action that copies files from servers or mounted volumes.The result of this action is a list of file references to the items passed from the previous action or Folder Action.

Download an installer for the action and related Xcode project files.

Version: 1.0 • Mac OS X 10.5

iPhoto Actions

A collection of actions using the face recognition technology in iPhoto 8 to perform people-relaed tasks.

The New eMail to Detected People action will create a new Mail message addressed to the detected people in the photos passed from the previous action. There is an option to include the passed images as mail message attachments.

The Search for Related Files of Detected People action will create a Spotlight search in the Finder for each of the detected people in the iPhoto images passed from the previous action.

The Show Maps for Addresses of Detected People action will display a Google map for the address of each of the detected people in the iPhoto images passed from the previous action. Note that a matching Address Book entry must exist for each face, and contain the same email address and a valid location address.

Download an installer for these actions and related Xcode project files.

Version: 1.0 • Mac OS X 10.5; iPhoto 8.x