A high-level scripting language residing on the Mac platform, AppleScript adds functionality to the Mac operating system. AppleScript functions like a powerful macro language that automates tasks and adds functions. This book supports all versions of AppleScript – through the latest, version 1.9.3. Rosenthal is already popular within the Mac community, and in this book he reaches out to Mac scripters. This book thoroughly explains advanced topics, without leaving the beginning Mac scripter behind. The book addresses scripting, current to Panther. And it continues where other books stop, offering additional points of view and perspective, as needed.
Read me first: Introduction; Starting to script – all over again.- How to AppleScript: Values; Doing the Math: All about numbers; Picking up dates; Lists and records; Giving commands; Variables; Operations and coercion; Teaching your script to make decisions; The assembly line: creating repeat loops; More on manipulating dates and times; User interaction; Referring to files; Working with the clipboard; Turn errors in your favour; Other control statements; Defining and calling subroutines; Script objects.- Part 3: The wild world of AppleScript: AppleScript amenities in OS X; Scripting additions and extendibility; The fundamentals of automating applications; Many ways to run a script; Healthy scriptwriting practices; Scripting Apple apps; Scripting data and databases; Automating media workflow; Manipulating PDFs with Smile; Automating UNIX applications; Scheduling scripts; Soap and XML-RCP; Scripting remote Macs over IP.- Part 4: Scripting applications with AppleScript Studio: AppleScript Studio bgnd; Xcode and Interface Builder; Creating applications with AppleScript Studio.- Part 5: The business of AppleScript: Selling your automation genius; Working with clients.