Apple Script is an English-like, easy-to-understand scripting language built into every Mac. Apple Script can automate hundreds of Apple Script-able applications, performing tasks both large and small, complex and simple.
Learn Apple Script: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition has been completely updated for Mac OS X Snow Leopard. It’s all here, with an emphasis on practical information that will help you solve any automation problem—from the most mundane repetitive tasks to highly integrated workflows of complex systems.
- Friendly enough for beginners, detailed enough for advanced Apple Scripters
- Includes major contributions from expert Apple Scripters: Emmanuel Levy, Harald Monihart, Ian Piper, Shane Stanley, Barry Wainwright, Craig Williams, and foreword by Apple Script inventor, William Cook
Mục lục
Welcome to Apple Script.- Introducing Apple Script.- Apple Script in Principle.- Apple Script in Practice.- Understanding Apple Script.- Writing Scripts in Apple Script Editor.- Understanding How Application Scripting Works.- Learning to Work with Apple Script Objects.- Working with Text.- Working with Numbers.- Working with Dates.- Working with Lists and Records.- Storing Objects in Variables.- More on Commands.- More on Operators and Coercions.- Making Decisions Using Conditionals and Loops.- Making Decisions When Dealing with Errors.- Interacting with the User.- Working with Files.- Organizing Your Code with Handlers.- Organizing Your Code with Script Objects.- Putting Apple Script to Work.- Scripting the File System.- Scripting Apple Applications.- Extending Apple Script with Scripting Additions.- Apple Script Amenities.- Scripting i Work and Office.- Scripting Data and Databases.- Scripting Adobe In Design.- Interacting with the Unix Command Line.- Using Smile: The Apple Script Integrated Production Environment.- Tips and Techniques for Improving Your Scripts.- Creating Cocoa Applications with Apple Script Obj C.
Giới thiệu về tác giả
Hamish Sanderson is a ten-year veteran of Apple Script and professional automation developer living and working in the U.K. Over the years, he has contributed a range of useful libraries and utilities to the Apple Script community and pops up with some regularity on the various Apple Script mailing lists. He is also the author of the highly regarded Appscript library, which brings Apple Script-style application scripting support to the Python, Ruby, and Objective-C languages on Mac OS X.