In order to create AppleScripts, you need a text or script editor. One such editor, the Script Editor, is supplied as part of Mac OS X. The Script Editor can be used to write scripts for different programming languages. However, by default it is only pre-configured to support AppleScript programming. The Script Editor provides you with numerous features that facilitate script building, including:
color code highlighting
automatic statement indentation
code compilation and execution
You will find the Script Editor in the /Applications/AppleScript folder. It is started just like any other Mac OS X application by double-clicking on it. Figure 1.22 shows an example of the Script Editor when first started. ...