Book description
What is this book about?
Geared toward programmers with no prior development knowledge, Beginning AppleScript serves as a comprehensive guide to using AppleScript on the Mac OS X platform. This title introduces the reader to AppleScript, and then illustrates how to efficiently start writing scripts through sample programs as each concept is introduced. Exercises at the end of each chapter allow the reader to test and demonstrate their knowledge on how to write functional scripts. The appendices include a list of other resources for additional developer information, and a summary of the language suitable for reference.
Table of contents
- Copyright
- About the Author
- Credits
- Dedication
- Acknowledgments
- Introduction
- Writing Your First AppleScript Program
- Variables, Classes, and Expressions
- Making Decisions
- Program Looping
-
Working with Strings
- Strings, Text, and Unicode Text
- Review of Concatenation
- Getting the Size of a String
- Using Special String Characters
- The considering and ignoring Statements
- Words, Characters, and Paragraphs
- Locating Strings inside Strings
- More on the Count Command
- Enhancing the Alarm Clock Program
- Summary
- Exercises
- Working with Lists and Records
- Working with Files
- Handlers
- Error Handling
- Working with Applications
- Scripting iLife Applications
- Script Objects
-
Loose Ends
- Command Handlers
- Using terms from
- Using the clipboard
- The Script Menu
- Folder Actions
- Open Scripting Architecture
- Scripting Additions
- AppleEvents
- Recording Scripts
- GUI Scripting
- Before and After
- Creating a Reference to an Object
- Web Services: XML-RPC and SOAP
- Running Scripts from Terminal
- The do shell script Command
- The with transaction Statement
- Delayed Evaluation with the run script Command
- Scheduling Scripts to Run with the cron
- Summary
- Exercises
- Introducing AppleScript Studio
- Exercise Answers
- Language Reference
- Resources
- Index
Product information
- Title: Beginning AppleScript®
- Author(s):
- Release date: December 2004
- Publisher(s): Wrox
- ISBN: 9780764574009
You might also like
book
Apple® Automator with AppleScript® Bible
One-stop reference helps you get the most out of AppleScript and Automator One of the handiest …
book
Beginning Mac OS® X Programming
Beginning Mac OS X Programming Every Mac OS X system comes with all the essentials required …
book
Mac Kung Fu, 2nd Edition
Squeeze every drop of juice from OS X with over 400 quick and easy tips, tricks, …
book
Apple Pro Training Series: macOS Support Essentials 10.14
This is the official curriculum of the Apple Mojave 101: OS X Support Essentials 10.14 course …