The Learning Curve
In case you’re beginning to worry that AppleScript is hard, don’t; it isn’t! AppleScript is a straightforward computer language, and can be taught and learned in a straightforward manner; if I didn’t believe that, this book wouldn’t exist. AppleScript is extensible, so this book will tell you how to read a scriptable application’s dictionary, warn of possible pitfalls, and give plenty of examples. AppleScript is English-like, so the book will teach a clean, concise style, and will wave a red flag when an analogy with natural language threatens to mislead. AppleScript values are object-like; this book tells you how to talk to them. AppleScript has some LISP-like features; this book elicits these features where they are relevant, but where they seem too advanced you can always skip a section and return to it later on. If this book occasionally comments on the odd way AppleScript does certain things, it is not to frighten or frustrate the reader, but rather to gain the reader’s trust. It’s just my way of saying, “Don’t worry if this seems weird; it is weird.”
So approach AppleScript without fear. It deserves respect, appreciation, and perhaps a little wonder. After all, it’s amazingly old. The Mac OS X revolution has let Apple thoroughly modernize a System that was breaking under its own accumulated weight of years; yet AppleScript remains, to all intents and purposes, its same old self. The fact that AppleScript works at all in this brave new world of Unicode text ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access