AppleScript ejecutado desde CLI
osascript /example/path/to/AppleScript.scpt
osascript -e 'tell app "Finder" to make new Finder window'
osascript -e 'display dialog "Hello" with title "OSX Rocks"'
KostasX