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

Part 2: Understanding AppleScript > Making Decisions Using Conditionals and Loo...

Chapter 14. Making Decisions Using Conditionals and Loops

Previous chapters have explored in detail the first two key concepts behind AppleScript: how information is represented as objects, and the features used to manipulate those objects (commands, operators, and variables). However, there is one more key concept that you need to grasp before you can really use AppleScript effectively: how your script can make decisions on what to do and when to do it.

In AppleScript, the ability to make decisions is what gives your script "artificial intelligence." The AppleScript language provides three important features for making these decisions:


  

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


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint