beautypg.com

Apple AppleScript Finder Guide User Manual

Page 85

background image

C H A P T E R 2

Finder Objects

Object Class Definitions

73

Item

2

An object of class Item is any item in a container.

PROPERTIES

bounds

The coordinates of the rectangle that bounds the content region

of the item’s icon.

Class:

List of four integers (Bounding Rectangle data type).

The first two integers specify the coordinates of the upper-

left corner of the item’s icon, and the last two integers specify

the coordinates of the lower-right corner of the icon.

Modifiable?

Yes

comment

The comment displayed in the item’s information window.

Class:

String

Modifiable:

Yes

container

A reference to the container in which the item is located.

Class:

Reference

Modifiable:

No

content space

A reference to the content space that opens when the item

is opened.

Class:

Content Space

Modifiable:

No

creation date

The date on which the item was created.

Class:

Date

Modifiable:

No

disk

A reference to the disk on which the item is stored.

Class:

Reference

Modifiable:

No

folder

A reference to the folder, if any, in which the item is stored.

Class:

Reference

Modifiable:

No

icon

A bitmap of the item’s icon.

Class:

Icon family (data type defined by Finder)

Modifiable:

Yes