beautypg.com

Apple AppleScript Finder Guide User Manual

Page 86

background image

C H A P T E R 2

Finder Objects

74

Object Class Definitions

id

The item’s hierarchical file system (HFS) ID number, an integer

that identifies an application file, folder, or disk. (For examples

of the use of this property, see page 35.)

Class:

Integer

Modifiable:

No

information window

A reference to the item’s information window.

Class:

Reference

Modifiable:

No

kind

The kind of item as listed under Kind in the item’s

container window.

Class:

String

Modifiable:

No

label index

The number of the label currently selected for the item in the

Label menu (None = 0).

Class:

Integer

Modifiable:

Yes

modification date

The date on which the item was most recently modified.

Class:

Date

Modifiable:

No

name

The item’s name.

Class:

String

Modifiable:

Yes

physical size

The physical size of the item on disk, in bytes.

Class:

Integer

Modifiable:

No

position

Two integers that specify the position of the upper-left corner of

the item’s icon.

Class:

List of two integers (Point data type)

Modifiable?

Yes

selected

A Boolean value that indicates whether the item is selected

(true) or not (false).

Class:

Boolean

Modifiable:

Yes