Run An AppleScript From The Command Line

Use the `osascript` to run an AppleScript from the command line

For example:

Code
osascript hello_world.scpt

Which works with a script like this saved from Script Editor

Code
return "Hello, World"