1.1. Starting with Script Editor
Your Mac OS X system comes with some preinstalled tools that you'll be using in this book. One of the most useful ones (as far as AppleScript programming goes) is an application called Script Editor. This application allows you to enter, compile, debug, and run your AppleScript programs in an interactive environment. It is a simple and effective tool.
The Script Editor application is stored in your Applications folder inside a subfolder called AppleScript. Its icon looks like the one shown in Figure 1-1.
Figure 1.1. Figure 1-1
Locate the Script Editor application and double-click it to start it. You should get a window on your screen that looks similar to the one shown in Figure 1-2. This window is where you type your AppleScript program. I show you how in the following Try It Out.
Figure 1.2. Figure 1-2
1.1.1.
1.1.1.1. Try It Out: Typing Your First Program
Click inside the Script Editor window and type the following:
100 * pi
Your window should look like Figure 1-3.
Figure 1.3. Figure 1-3
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access