All scriptable applications share a few basic commands and objects (usually called the Standard Suite) - commands to open, close or save a file, to print something, to quit, to set data to variables - as well as a basic application object that gives the scriptable properties of the application itself.Many applications have numerous suites capable of performing any task the application itself can perform.At the same time, the shift to the Unix underpinnings and Apple Script's ability to run Unix commands directly allowed Apple Scripts much greater control over the operating system itself.
In exceptional cases, applications may support plugins which include their own scripting dictionaries.Apple Script was designed with the ability to build scripts intuitively by recording user actions.Mainly, however, Apple Script relies on the functionality of applications and processes to handle complex tasks.As a structured command language, Apple Script can be compared to Unix shells, the Microsoft Windows Script Host, or IBM REXX in its functionality, but it is unique from all three.The term "Apple Script" may refer to the scripting system itself, or to an individual script written in the Apple Script language.
Apple Script is primarily a scripting language developed by Apple to do Inter-Application Communication (IAC) using Apple Events.
For the user, hundreds or thousands of steps in multiple applications have been reduced to the single act of running the script, and the task is accomplished in much less time and with no possibility of random human error.
A large complex script could be developed to run only once, while other scripts are used again and again.
Apple Script is related to, but different from, Apple Events.
Apple Events is designed to exchange data between and control other applications in order to automate repetitive tasks.
Commands, by contrast, are instructions that can be given to scriptable objects.