Applescript Run From Cli

[Solved] Applescript Run From Cli | Perl - Code Explorer | yomemimo.com
Question : applescript run from cli

Answered by : kostas-minaidis

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"'

Source : https://osxdaily.com/2016/08/19/run-applescript-command-line-macos-osascript/ | Last Update : Fri, 24 Jun 22

Answers related to applescript run from cli

Code Explorer Popular Question For Perl