
osascript
List of commands for osascript:
-
osascript:tldr:50d46 osascript: Run multiple AppleScript commands.$ osascript -e "${say 'Hello'}" -e "${say 'world'}"try on your machineexplain this command
-
osascript:tldr:80eb4 osascript: Run a JavaScript file.$ osascript -l JavaScript ${path-to-script-js}try on your machineexplain this command
-
osascript:tldr:a7161 osascript: Run an AppleScript command.$ osascript -e "${say 'Hello world'}"try on your machineexplain this command
-
osascript:tldr:e480d osascript: Run a compiled (`*.scpt`), bundled (`*.scptd`), or plaintext (`*.applescript`) AppleScript file.$ osascript ${path-to-apple-scpt}try on your machineexplain this command
-
osascript:tldr:e7854 osascript: Get the bundle identifier of an application (useful for `open -b`).$ osascript -e 'id of app "${Application}"'try on your machineexplain this command
-
osascript:tldr:f2004 osascript: Run a JavaScript command.$ osascript -l JavaScript -e "${console-log('Hello world');}"try on your machineexplain this command