Apple Script Features
Added 29 Jul 2008
AppleScript is a rich language. It contains all of the things you would
want in a programming language including variables, conditionals (if,
else, then statements), looping (or iteration) and subroutines
(handlers). Unlike macro languages that lock you into a prerecorded set
of steps, AppleScripts are much richer. They can possess the smarts to
make decisions based on user input, current conditions, or the results
of previous steps.