Applescript is a powerful scripting language that can be used directly from the Terminal command line to accomplish a multitude of tasks.
All examples listed in this section are meant to be used from the Terminal application.