Using AppleScript with Indigo (Pro only feature)

Indigo provides extensive AppleScript support, including an object model and an attachment plug-in architecture. Additionally, you can use the Action Type Execute AppleScript to create actions that execute embedded or external scripts.

Location of AppleScript Files

Indigo provides quick access via the Scripts menu to all scripts found in:

/Library/Application Support/Perceptive Automation/Indigo 4/Scripts/

To execute a script simply choose the script name from the Scripts menu. To edit a script in the Script Editor application hold down the option key while selecting the script name.

Attachment Script Files

Indigo attachment script files are found in:

/Library/Application Support/Perceptive Automation/Indigo 4/Scripts/Attachments/

Indigo will automatically load all attachment scripts at application launch, and all handlers (subroutines) in attachment scripts can be directly called from within Indigo AppleScript actions. Conversely, attachment scripts can call back directly into Indigo. Additionally, all incoming interface commands are dispatched to attachment scripts, providing a low-level hook for all incoming interface commands.

AppleScript How-Tos on the Wiki

The Wiki contains a bunch of How-Tos that have AppleScript in them. There are two of particular interest that you should read:

  1. AppleScript and Indigo Pro
  2. Common Tasks in AppleScript

Indigo AppleScript Dictionary (object model and verbs)

For information on Indigo's AppleScript verb and object model syntax, see the complete Indigo AppleScript dictionary.

More AppleScript Resources

Visit our How-To Wiki, online support forum and User Contribution Library for additional information and discussions about using AppleScript with Indigo.