beautypg.com

Apple AppleScript Finder Guide User Manual

Page 56

background image

C H A P T E R 2

Finder Objects

44

Object Class Definitions

expandable

A Boolean value that indicates whether the container can

be opened within its container in outline view (true) or

not (false).

Class:

Boolean

Modifiable:

No

expanded

A Boolean value that indicates whether the item is open in

outline view (true) or not (false).

Class:

Boolean

Modifiable:

Yes

previous list view

An integer between 2 and 8 or one of the corresponding constants
name

, modification date, size, kind, comment, label

index

, or version. If the View property of the container is

currently one of these list views, the value of this property is the

current list view. If the View property is small icon or icon,

the value of this property is the last list view selected. If no list

view has been selected since the container was first opened, the

value of this property is name. You can’t get or set this property

unless the container is open, and the value of the property isn’t

retained after the container has been closed.

Class:

Integer

Modifiable:

No

selection

A list of references to the container elements that are currently

selected. The elements in the selection are those that would

be cut by a Cut command or copied by a Copy command. If no

elements are selected, the value of the Selection property is

an empty list.

Class:

List of references

Modifiable:

Yes

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’s window. You can’t

get or set this property unless the container is open.

Class:

Integer

Modifiable:

Yes