Instances of the
AMShell class own Automator actions whose runtime behavior is driven by a shell script or by a Perl or Python script.
- macOS 10.4+
When you create a Shell Script Automator Action project in Xcode, the project template supplies an
AMShell instance as the Principal Class of the action bundle. This ready-made instance provides a default implementation of the
run method that uses the logic defined in the script. You can substitute your own subclass of
AMShell for Principal Class if you need to.