beautypg.com

Apple AppleScript Finder Guide User Manual

Page 69

background image

C H A P T E R 2

Finder Objects

Object Class Definitions

57

Folder (page 63)
Font File (page 65)
Font Suitcase (page 66)
Item (page 73)
Sharable Container (page 79)
Sound File (page 88)
Suitcase (page 90)

COMMANDS HANDLED

Clean Up, Count, Data Size, Exists, Get, Print, Select, Sort, Update

DEFAULT VALUE CLASS RETURNED

Reference.

EXAMPLE

To refer to a desktop-object, you must use the Desktop property of the Finder

application:

tell application "Finder"

clean up desktop

end tell

For more information about the Desktop property, see “Properties and

Elements of the Finder,” which begins on page 20.

Disk

2

An object of class Disk is any mounted volume on the desktop. In addition to

hard disks and floppy disks, objects of class Disk can include RAM disks, tape

drives, CD-ROM disks, and other storage devices.