Mac Developer Library

Developer

Automator Framework Reference

Introduction

Classes   Other Reference  

The Automator framework supports the development of actions for the Automator application, as well as the ability to run a workflow in developer applications. An action is a bundle that, when loaded and run, performs a specific task, such as copying a file or cropping an image. Using Automator, users can construct and execute workflows consisting of a sequence of actions. Developers can also load and execute workflows in their applications. As a workflow executes, the output of one action is typically passed as the input to the next action. Automator loads action bundles from standard locations in the file system: /System/Library/Automator, /Library/Automator, and ~/Library/Automator.

Classes

NSObject

NSObject is the root class of most Objective-C class hierarchies.

AMAction

AMAction is an abstract class that defines the interface and general characteristics of Automator actions.

AMBundleAction

Instances of the AMBundleAction class manage Automator actions that are loadable bundles.

AMAppleScriptAction

Important: AMAppleScriptAction is considered deprecated.

AMShellScriptAction

Instances of the AMShellScriptAction class own Automator actions whose runtime behavior is driven by a shell script or by a Perl or Python script.

AMWorkflow

The AMWorkflow class lets you use an Automator workflow in your application.

NSController

The NSController class is an abstract class that implements the NSEditor and NSEditorRegistration informal protocols required for controller classes.

AMWorkflowController

The AMWorkflowController class lets you manage an Automator workflow in your application.

NSView

The NSView class defines the basic drawing, event-handling, and printing architecture of an app.

AMWorkflowView

You use the AMWorkflowView class to provide viewing and editing of Automator workflows in your application.

Other Reference

Automator Constants Reference