beautypg.com

Apple AppleScript Finder Guide User Manual

Page 68

background image

C H A P T E R 2

Finder Objects

56

Object Class Definitions

Desktop-Object

2

An object of class Desktop-Object is the desktop of a computer. The Desktop

property of the Finder application is a reference to an object of this class.

PROPERTIES

A desktop-object has some (but not all) of the properties defined for object class

Container on page 43: Container Window, Entire Contents, Previous List View,

Selection, and View.
A desktop-object also has some of the properties defined for object class Item

on page 73: Comment, Content Space, Creation Date, Disk, Kind, Modification

Date, Name, Physical Size, Selected, Size, and Window.
Unlike other containers, a desktop-object also has these properties:
startup disk

A reference to the startup disk from which the Finder

application was launched.

trash

A reference to the Trash folder.

ELEMENT CLASSES

Objects of these classes can be identified at the top level of the desktop-object

by name or by number. Page numbers indicate the location of corresponding

definitions in this chapter.
Accessory Suitcase (page 27)
Alias File (page 28)
Application File (page 38)
Container (page 43)
Control Panel (page 51)
Desk Accessory File (page 55)
Document File (page 60)
File (page 61)