Chapter 4. Writing Scripts in AppleScript Editor

Before we start exploring application scripting and AppleScript in detail, in this chapter we are going to take a closer look at the main tool we will use in this book to create, save, and run scripts: AppleScript Editor.

AppleScript Editor is a simple application for writing and running AppleScripts. You can find it in your Mac's /Applications/Utilities/ folder. The following sections describe AppleScript Editor's main features, starting with script windows, and then moving on to other important features such as dictionary viewer windows, the Library window, and preference options.

Note

On Mac OS X 10.5 and earlier, the AppleScript Editor application is named Script Editor and can be found in /Applications/AppleScript/ ...

Get Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.