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
  • PrintPrint
Share this Page URL
Help

Chapter 20. Scripting the File System > How the Finder Represents the Mac OS X ...

20.1. How the Finder Represents the Mac OS X File System

The first items to explore when scripting the file system are the different classes of objects Finder and System Events use to represent files, folders and disks. There are quite a few differences between the Finder's and System Events' object models, so this section will focus on the Finder and the next section will cover System Events.

The top of the food chain in the Finder's inheritance structure is a class called item. The item class describes the basic features found in every class of file system object you'll meet in Finder scripting: disk, folder, application file, document file, and so on.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


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