10.5. Summary
In this chapter, you learned a lot about working with applications. You saw how to use the tell statement to target other objects. Most of the time, those objects are other applications. Often, one of those applications is the Finder.
In this chapter you also learned
How to write a tell statement and understand targets
How to work with Finder windows
How to navigate the Finder's dictionary, and understand its classes and commands
How to work with the Finder's containers
How to interpret a Finder's file reference
How to perform common operations on files and folders with the Finder
How to distinguish Finder file objects from AppleScript file specifications
How to write a filter
How to ignore application responses and set timeouts on commands
How to use the run, reopen, idle, and quit handlers when writing applets
How to write a droplet
Chapter 11 continues this theme of working with applications. You learn how to use AppleScript to communicate with the programs that form part of the iLife package of applications: iPhoto, iTunes, iDVD, iMovie, and GarageBand. 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.