beautypg.com

Apple AppleScript Finder Guide User Manual

Page 55

background image

C H A P T E R 2

Finder Objects

Object Class Definitions

43

Container

2

An object of class Container is any Finder container, such as a folder, a disk, or

the Trash.

PROPERTIES

A container has all the properties defined for object class object class Item on

page 73: Bounds, Comment, Container, Content Space, Creation Date, Disk,

Folder, Icon, ID, Information Window, Kind, Label Index, Modification Date,

Name, Physical Size, Position, Selected, Size, and Window.
Unlike other items, a container also has these properties:
completely expanded

A Boolean value that indicates whether a container and any

folders it contains are completed expanded in list view (true)

or not (false). For a container to be completely expanded, the

window that contains the container must be open in list view

(that is, any item other than “by Small Icon” or “by Icon” is

selected in the Views menu for the window), the container and

all nested folders within the it must be fully expanded with that

same list view, and the container’s own window must be closed.

Before you can set this property, the window that contains the

container must already be open in a list view.

Class:

Boolean

Modifiable:

Yes

container window

A reference to the container’s window.

Class:
Modifiable:

No

entire contents

A list of references to the entire contents of the container,

including the contents of any other containers within

the container.

Class:

List of references

Modifiable:

No