osascript [script]

Execute OSA scripts (AppleScript, JavaScript, etc.)

Arguments

NameDescription
script

Options

NameDescription
-e <statement>Enter one line of a script
-iInteractive mode
-l <language>Override the language for any plain text files
-s <flags...>Modify the output style