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 > Working with Finder Items

20.3. Working with Finder Items

In the following sections, you'll focus not on all the things you can do with the Finder application, but rather on all the things you can do with and to Finder items. Since the System Events commands are so similar to the Finder's commands, the following sections will concentrate on the Finder and just point out any important differences.

20.3.1. Opening and Closing Items

The open command works with any item you can open from the Finder. It acts as if you double-clicked the item. If you use the open command on a disk or folder, the disk/folder will open as a new Finder window. For example, this will open the current user's home folder:


  

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
  • PrintPrint