Tutorials and Online Training Videos

AppleScript 2006 Tutorial

AppleScript is an easy-to-use scripting language that allows you to control applications on a Macintosh. With AppleScript, you can speed up processes, reduce user error, and ensure consistency. It also enables automated workflow and routine tasks, unattended operation 24 hours a day, and even cross-platform scripting. Author Ben Waldie carefully explains all of these capabilities and more of this updated version of AppleScript. To begin learning today, simply click on the links.


Welcome and Course Goals
Introduction to AppleScript
AppleScript Components Pt.1
AppleScript Components Pt.2
Introduction to Automator Pt.1
Introduction to Automator Pt.2
Example Code

Script Editor

Script Editor Versions
Script Window Overview Pt.1
Script Window Overview Pt.2
Editing and Navigation Features
AppleScript Formatting
History Windows
Saving Scripts Pt.1
Saving Scripts Pt.2
Saving Scripts Pt.3
Third-Party Script Editors

Scriptable Applications (Part 1)

Introduction to Scriptable Applications
Recordable Applications
Attachable Applications
Non-Scriptable Applications

AppleScript's Language

Objects, Properties, and Commands
Value Classes
Grouping and Commenting
Terminology Abbreviations

Scriptable Applications (Part 2)

Accessing Application Dictionaries
Navigating Application Dictionaries Pt.1
Navigating Application Dictionaries Pt.2
Navigating Application Dictionaries Pt.3
Targeting Application Objects
Locating Applications

Variables and Properties

Introduction to Variables
Data Sharing
Local Variables
Global Variables
Pre-Defined Variables
Property and Variable Persistence

Adding Logic to a Script

Introduction to If/Then Statements
Simple If/Then Statements
Nested If/Then Statements
Complex If/Then Statements

Repeat Loops

Introduction to Repeat Loops
Repeat Until/Repeat While
Repeating Through a List
Incremental Repeating
Nested Repeat Loops

Extending AppleScript

Scripting Additions
Background Scriptable Applications
Calling UNIX Code

Basic User Interaction

Displaying Dialogs
Displaying Alerts
Choosing from a List
Choosing Files and Folders
Other Types of User Interaction

Error Handling and Troubleshooting

Try Statements
Timeouts/Ignoring Application Responses
Troubleshooting Techniques

File Interaction

Referencing Files
Dynamic Folder Paths
Reading Files (Part 1)
Reading Files (Part 2)
Writing to Files

Subroutine Handlers

Introduction to Subroutine Handlers
Subroutine Handler Parameters
Handler Return Values
Recursive Handlers

Command Handlers

Introduction to Command Handlers
Drop Scripts
Idle Scripts
Folder Action Scripts

Script Objects and Loaded Scripts

Script Objects
Loading and Storing Scripts
Calling Handlers in Other Scripts

Advanced AppleScripting

Remote Apple Events
GUI Scripting
Enabling GUI Scripting
Database Events
Image Events
Multi-Application Scripting
AppleScript Studio

Next Steps and Resources

Planning a Script
Web Sites, Forums, and Mailing Lists
Books and Other Training Resources


About this Author

Related Books on AppleScript 2006

Save $80 on the
by Motorola with Verizon Wireless service for less than from Verizon Wireless directly.
Save $80 on DROID BIONIC
More Cell Phone Discounts