Creating scripts
Script Editor's easy-to-use interface and powerful scripting features give you an easy way to access the power of AppleScript. With Script Editor, you can create and edit AppleScript scripts, and then save them as compiled scripts, droplets, or even applications. You can place scripts in menus or toolbars, or attach them to folder actions. All the scripts you make can be shared with others.
There are many scriptable Mac OS X applications. Script Editor lets you view the commands the application will understand.