O'Reilly logo

Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition by Hanaan Rosenthal, Hamish Sanderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required