Lesson 8. Data Containers, Operators, and Coercions

Data Containers (Variables)

Operators

Coercions

What’s Next?

Now that you know how to find your way around your computer using AppleScript, you’re ready to start doing something useful with the information that’s available to you. To do real work with AppleScript, you need to be able to hold onto the data you’re interested in while you’re working with it, to manipulate it in various ways to produce new data, and sometimes to change its type so you can combine it or compare it to other data.

To perform these tasks with data in AppleScript, you need to learn about containers, operators, and coercions:

• Data containers are known to scripters as variables. Variables are terms that you define ...

Get Apple Pro Training Series: AppleScript 1-2-3 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.