AppleScript Programming/Sample Programs