Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 27. Interacting with the Unix Co... > Running AppleScript from Shell Scrip...

27.4. Running AppleScript from Shell Scripts

Reversing the tables on the do shell script command is the osascript shell command. This command allows you to run AppleScript scripts from the command line.

27.4.1. Using the osascript Command

The osascript command can run scripts in three different ways:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial