beautypg.com

Apple AppleScript Finder Guide User Manual

Page 60

background image

C H A P T E R 2

Finder Objects

48

Object Class Definitions

You can’t get or set this property unless the container window

is open, and the value of the property isn’t retained after the

container window has been closed.

Class:

Integer

Modifiable:

No

selection

A reference to the current selection.

Class:

Reference or list of references

Modifiable:

No

view

An integer between 0 and 8 or one of the corresponding

constants small icon, icon, name, modification date,
size

, kind, comment, label index, or version, indicating

the current selection in the View menu for the container

window. You can’t get or set this property unless the container

window is open.

Class:

Integer

Modifiable:

Yes

ELEMENT CLASSES

The elements of a container window include all the items currently displayed

inside the window. When folders in a window whose View property is name,

date, size, or kind are expanded in outline view, the elements of the expanded

folder become elements of the container window in which the folder is located.
Objects of the classes listed here can be identified at the top level of a container

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

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)
Folder (page 63)