AppleScript is a scripting language created by Apple and built into the Mac operating system. AppleScript provides a way to automate applications, as well as creating stand along scripts. In addition, AppleScript Studio, which is part of XCode, provides the ability to create stand alone Cocoa applications using AppleScript.
AppleScript is deigned to be an easy and readable language, utilizing expressions that reflect natural language like tell application "Microsoft Word" to quit.
This guide will introduce you to the basics of AppleScript, and presents a number of examples where AppleScript can be employed to automate applications and to perform repetitive tasks.