Script Editor Icon

About the shortcut menu

To reduce the amount of time spent typing and fixing errors when writing a script, Script Editor lets you insert prewritten routines into your script using the shortcut menu (also know as the contextual menu.)

Folder actions
Folder actions occur when a change happens to a folder. The folder action can be used to automatically run a script. You can use the shortcut menu to insert a prewritten folder action into your script.
Repeat routines
Repeat routines cause a series of commands to repeat until a condition changes. You can use the shortcut menu to insert a prewritten repeat routine into your script.
Tell blocks
Tell blocks direct a series of commands to a particular application or component. You can use the shortcut menu to insert a prewritten tell block into your script.
Conditional statements
Conditional statements run a series of commands if the correct conditions exist. You can use the shortcut menu to insert a prewritten conditional statement routine into your script.
Action clauses
Action clauses apply special conditions to the execution of a group of statements. You can insert an action clause into your script using the shortcut menu.
Dialogs
You can insert prewritten routines that will display a dialog when the script is run.
Error handlers
You can insert prewritten error routines that will provide information related to an error encountered when the script is executed.
Image manipulation
Image manipulation routines will do graphic processing of image files. You can use the shortcut menu to insert a prewritten image manipulation routine into your script.
Iteration routines
Iteration routines process through multiple files. You can use the shortcut menu to insert prewritten routines that will iterate through multiple documents.