beautypg.com

Apple AppleScript Finder Guide User Manual

Page 80

background image

C H A P T E R 2

Finder Objects

68

Object Class Definitions

Group

2

An object of class Group is a group file in the Users & Groups control panel

window. The Finder can’t recognize or create a group unless the Users &

Groups control panel window is open.

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

icon

A bitmap of the item’s icon.

Class:

Icon family (data type defined by Finder)

Modifiable:

Yes

label index

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

Label menu (None = 0).

Class:

Integer

Modifiable:

Yes

name

The group’s name.

Class:

String

Modifiable:

Yes

position

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

the group’s icon.

Class:

List of two integers (Point data type) that specify the

coordinates of the upper-left corner of the group’s icon

Modifiable?

Yes

ELEMENT CLASSES

None