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.
Get Beginning AppleScript® 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.