A script is any collection of data that, when executed by the appropriate program, causes a corresponding action or series of actions. For example, some database, telecommunications, and page-layout applications allow users to automate repetitive or conditional tasks by means of scripts written in proprietary scripting languages. The HyperTalk scripting language allows users to control the behavior of HyperCard stacks.
Macro programs can automate tasks at the level of mouse clicks and keystrokes.
Each scripting language has a corresponding scripting component. When a scripting component executes a script, it performs the actions described in the script, including sending Apple events to applications if necessary. Standard Suites defines the standard vocabulary of Apple events. The standard scripting component data structures, routines, and resources allow applications to interact with any scripting component. The AppleScript component implements the AppleScript scripting language.