1.8. Summary
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
In the next chapter, you learn more about writing expressions, the different types of data that AppleScript supports, and how to work with variables in your programs. Before proceeding, however, try the exercises that follow to test your understanding of the material covered in this chapter. You can find the solutions to these exercises in Appendix A.
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