beautypg.com

Apple AppleScript Finder Guide User Manual

Page 107

background image

C H A P T E R 2

Finder Objects

Object Class Definitions

95

Window

2

An object of class window is any Finder window.

PROPERTIES

bounds

The rectangle that bounds the content region of the window.

(The “window frame”—the title bar and scroll bars—are not

part of the content region.)

Class:

List of four integers (Bounding Rectangle data type). The

first two integers specify the coordinates of the upper-left corner

of the window, and the last two integers specify the coordinates

of the lower-right corner of the window.

Modifiable?

Yes

closeable

A Boolean value that indicates whether the window has a close

box (true) or not (false).

Class:

Boolean

Modifiable?

No

floating

A Boolean value that indicates whether the window is a floating

window (true) or not (false). (A floating window is a window

that appears in front of all other windows.) No Finder windows

are floating windows.

Class:

Boolean

Modifiable?

No

index

The number of the window (window 1 is the frontmost window,
window 2

is the window immediately behind window 1, and

so on).

Class:

Integer

Modifiable?

Yes

modal

A Boolean value that indicates whether the window is modal

(true) or not (false). (A modal window is one that requires

a response from the user before the user can perform any

other tasks).

Class:

Boolean

Modifiable?

No