Language Guide

APPENDIX B
Scriptable Text Editor Dictionary
324 Scriptable Text Editor Object Class Denitions
Floating A Boolean parameter that indicates whether the window is a
floating window (a window that appears in front of all other
windows). The value true indicates that the window is a
floating window, and the value false indicates that it isn’t. No
Scriptable Text Editor 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 parameter that indicates whether the window is
modal (one that requires a response from the user before the
user can perform any other tasks). The value true indicates that
the window is modal, and the value false indicates that it
isn’t. No Scriptable Text Editor windows are modal.
Class: Boolean
Modifiable? No
Modified A Boolean parameter that indicates whether the document has
been modified since it was last saved. The value true indicates
that the document has been modified, and the value false
indicates that it hasn’t.
Class: Boolean
Modifiable? No
Name The name of the window (see “Notes” later in this section).
Class: Text
Modifiable? Yes
Position The upper-left corner of the content region of the window (the
portion of the window that contains the text of the document;
the “window frame”—the title bar and scroll bars—are not part
of the content region).
Class: List of two integers that specify the coordinates of the
upper-left corner (for information about window coordinates,
see “Notes” later in this section).
Modifiable? Yes