Chapter 13. More on Operators and Coercions

As you have seen, working with data in AppleScript is not a small topic. Over the last seven chapters, we have looked at seven of the main object classes provided by AppleScript—boolean, integer, real, text, date, list, and record—along with the features used to work with them: commands, operators, and variables. We still haven't covered everything—for example, file system–related classes (alias, file, and POSIX file) will be covered later, in Chapter 17—but we've covered enough to do useful work for now.

The purpose of this chapter is to tie up some loose ends from the previous chapters. We'll start by exploring a couple of less important but still useful features: the a reference to operator and unit ...

Get Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.