Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, you learned how to do the following:
Start up Script Editor
Type a simple AppleScript program, compile it, and run it
Look at the results of the program in the Result pane
Save your AppleScript program to a file
Add a description to your program
Use the display dialog command to display a message to the user
Define a character string
Set up a simple list
Use optional command parameters; in particular, use some of the display dialog command's parameters to change the labels on buttons, specify a default button, and display an icon
Write an AppleScript program containing more than one command
Add comments to your program