Book description
One-stop reference helps you get the most out of AppleScript and Automator
One of the handiest ways to streamline your workload is to automate some of your most routine computer tasks. Mac users are lucky in that they have AppleScript and Automator automation tools built right in. This comprehensive guide shows you how to tap both these useful Mac features for Mac OS X and regularly perform such tasks as extracting unread e-mails from your Mail, scheduling workflows, and manually recording actions to create new automated routines.
Brings you up to speed on Apple's built-in automation tools for Mac OS X, including a more thorough look at Automator than in many books, and shows you how you can automate many of your most repetitive or error-prone tasks
Explains how to automate aspects of some of your favorite Mac features, such as iCal, Mail, iPhoto, iTunes, and iDVD
Covers how to manipulate files and folders; work with PDFs, emails, and Web pages; schedule workflows; set up watch folders; create and use variables; manually record actions; and create AppleScripts that further automate functions
The instruction in this detailed guide will help you increase your productivity using Automator and AppleScript.
Table of contents
- Copyright
- About the Author
- Credits
- Preface
- Acknowledgments
- Introduction
- Dive into Automator and AppleScript
-
I. The Fundamentals of Automation
- 1. What Is Automation?
- 2. Automation from a User's Perspective
- 3. Automator Basics
- 4. Advanced Automator Topics
-
II. A Detailed Look at AppleScript
- 5. AppleScript Basics
- 6. AppleScript Objects and Dictionaries
- 7. Working with Variables and Properties
- 8. Operators, Expressions, and Statements
- 9. Conditionals and Loops
- 10. Handling User Input
- 11. AppleScript Subroutines
- 12. Applets and Droplets
- 13. Folder Actions
- 14. AppleScript Studio
-
III. Automation Projects
-
15. Ten Automation Projects for Files and Folders
- 15.1. The Projects
- 15.2. Creating a Basic Workflow to Process Specific Files
- 15.3. Converting a Basic Workflow to Accept Any Files
- 15.4. Finding Files and Folders and Renaming Them
- 15.5. Finding Files and Folders and Trashing Them
- 15.6. Creating Aliases for Files and Folders
- 15.7. Filtering Finder Items
- 15.8. Connecting to a Server
- 15.9. Getting Folder Contents
- 15.10. Opening Files with the Proper Application
- 15.11. Setting Spotlight Comments for Files and Folders
- 15.12. Summary
-
16. Ten Automation Projects for Music and Audio Files
- 16.1. The Projects
- 16.2. Playing a Specific iTunes Song
- 16.3. Adding Songs to a Playlist
- 16.4. Filtering iTunes Songs
- 16.5. Setting iTunes Volume
- 16.6. Pausing and Playing iTunes
- 16.7. Setting Information on iTunes Songs
- 16.8. Removing Empty Playlists
- 16.9. Changing Case of Song Names
- 16.10. Converting Text to Audio Files
- 16.11. Adding Audio Files to an iPod
- 16.12. Summary
-
17. Ten Automation Projects for Photos and Images
- 17.1. The Projects
- 17.2. Applying Color Changes to Groups of Images
- 17.3. Cropping and Resizing Images
- 17.4. Creating Thumbnails
- 17.5. Converting Images
- 17.6. Flipping and Rotating Images
- 17.7. Finding Specific Images
- 17.8. Importing Images to iPhoto
- 17.9. Exporting Images from iPhoto
- 17.10. Reviewing Photos in a PDF Contact Sheet
- 17.11. Automating Taking Pictures with a Digital Camera
- 17.12. Summary
-
18. Ten Automation Projects for Text Files
- 18.1. The Projects
- 18.2. Opening Text Files
- 18.3. Asking for Text from the User
- 18.4. Getting a Specific Word
- 18.5. Getting a Specific Character
- 18.6. Getting a Specific Paragraph
- 18.7. Combining Text Files
- 18.8. Getting the Definition of a Word
- 18.9. Using BBEdit: Working with Quotes
- 18.10. Using BBEdit: Convert Spaces to Tabs
- 18.11. Using BBEdit: Zapping Gremlins
- 18.12. Summary
-
19. Ten Custom Automation Projects
- 19.1. The Projects
- 19.2. Finding Specific Contacts in Address Book
- 19.3. Finding People with Birthdays
- 19.4. Creating a Group Mailer
- 19.5. Finding Specific Calendar Items
- 19.6. Getting New Mail Messages
- 19.7. Combining Mail Messages
- 19.8. Adding Attachments to Messages
- 19.9. Extracting Text from PDFs
- 19.10. Extracting PDF Pages
- 19.11. Downloading Specific URLs
- 19.12. Summary
-
15. Ten Automation Projects for Files and Folders
-
IV. Appendixes
- A. Automator Resources
- B. AppleScript Resources
-
C. AppleScript Reference
- C.1. Class Reference
- C.2. Commands Reference
- C.3. Operators Reference
- C.4. Control Statements Reference
- C.5. Handler Reference
- C.6. AppleScript Reserved Keywords
- C.7. AppleScript Error Numbers
- C.8. Summary
- D. Automator Actions and Variables
Product information
- Title: Apple® Automator with AppleScript® Bible
- Author(s):
- Release date: November 2009
- Publisher(s): Wiley
- ISBN: 9780470525869
You might also like
book
Automator for Mac OS X 10.6 Snow Leopard: Visual QuickStart Guide
Automator for Mac OS X 10.6 Snow Leopard: Visual QuickStart Guide uses a combination of task-based …
book
MAC OS® X UNIX® Toolbox: 1000+ Commands for the Mac OS® X
Explore a ton of powerful Mac OS X UNIX commands This handy, compact guide teaches you …
book
AppleScript: The Missing Manual
From newspapers to NASA, Mac users around the world use AppleScript to automate their daily computing …
book
Apple Pro Training Series: AppleScript 1-2-3
We know what you’re thinking. You’ve heard about AppleScript. You’ve heard that it can do amazing …