Contents

AMShellScriptAction

An object that represents Automator actions whose runtime behavior is driven by a shell script or by a Perl or Python script.

Declaration

class AMShellScriptAction

Overview

When you create a Shell Script Automator Action project in Xcode, the project template supplies an AMShellScriptAction instance as the Principal Class of the action bundle. This ready-made instance provides a default implementation of the AMAction run(withInput:) method that uses the logic defined in the script. You can substitute your own subclass of AMShellScriptAction for Principal Class if you need to.

Topics

Handling the I/O Separator Character

See Also

Actions