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 in this Virtual Training Company tutorial. You can begin learning right away by clicking one of the links below.
IntroductionAbout this CDWhat is AppleScript?What is AppleScript good for?Companies using AppleScriptWhat is installed with AppleScript?AppleScript BasicsWhat is an Apple Event?What is OSA?What is Object Oriented?Scripting vs. ProgrammingDifferent Types of ScriptsScriptable ApplicationsIntroduction to the Script EditorWhat is the Script Editor and where is it located?ButtonsEvent LogResult WindowAppleScript formattingDefault window sizeSaving a ScriptRunning a ScriptLanguageApplication Dictionaries
Vocabulary
Scripting Addition Dictionaries
Application terminology vs. Core Language
RecordingRecordable applications
Recording
Recording vs. writing
AppleScript Fundamentals (Part 1)AppleScripts Syntax
Statements
Commands
Expressions
Objects
Ways to refer to an object
Object properties
Tell StatementsTell statements
Nested tell statements
Cross network tell statements
AppleScript Fundamentals (Part 2)Get
Set
Data types and classes
Coercion
VariablesWhat is a variable?
It and Me
Global and Local variables
Result variable
AppleScript Fundamentals (Part 3)Operators
Commenting
Continuation
If/then/else statements
Repeat loops
Repeat loop example
Scripting applicationsActivating an application
Quark Xpress Demo
Finder scriptingFinder as an application
Finder objects
Recording Finder Scripts
Path names and aliases
Finder Demo 1
Finder Demo 2
User interactionDisplay dialog
Getting user entered text
Choose file
Choose folder
Choose application
Drag and drop
Error HandlingCompile errors
Try/on error/end try
Beeps and Display Dialogs
Timeouts:
Using the Result Window and Event Log
Stopping a Script with an error number -128
Commenting out lines
AppleScript Fundamentals (Part 4)Stopping a Script
Properties
Attachable applications
HandlersHandlers
Declaring values in handlers
Suoutine handlers and Command Handlers
Recursion
Calling handlers from other Scripts
Script objectsWriting Script objects
Running Script objects
Loading Script objects
High powered ScriptingAccessing Hidden capabilities of Applications
Scripting Additions and Faceless Applications
3rd party scripting applications
What to do when an application is not Scriptable
Debugging complex scripts with 3rd party tools
Building applications with FaceSpan
System Scripting Tools
Other uses for AppleScriptScripting for the web, CGI
Scriptable Speech
Getting startedAppleScript books
AppleScript classes
Web sites
Help modules
Click here to find out more about the AppleScript Training CD