Learn AppleScript The Comprehensive Guide to Scripting and Automation on Mac OS X - Sanderson, Hamish; Rosenthal, Hanaan (Apress, 2009)