# osascript osascript -il JavaScript - -i means interactive mode - -l JavaScript specifies the language. Otherwise, it is AppleScript. You probably don't want to use it :-P