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

5.2. Understanding Objects

Objects have three important characteristics: class, properties, and elements. Let's consider each of these in turn.

5.2.1. How Objects Are Categorized by Class

Humans love to categorize things; it's part of our nature. With applications representing lots of different kinds of data—disks, folders, and files in Finder; tracks and playlists in iTunes; and so forth—it's not surprising that the different kinds of objects that appear in scriptable applications should be categorized too.


  

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