osascript [command]

Execute OSA scripts (AppleScript, JavaScript, etc.)

Arguments

NameDescription
command

Options

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