.WINDOW

Begin a general window definition

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
.WINDOW name, height, width

Arguments

name

The name of the window (a maximum of 15 characters).

height

The height of the window in rows.

width

The width of the window in columns.

Discussion

The .WINDOW command defines the name and size of a general window and marks the beginning of the general window definition.

The window defined by .WINDOW is a general or display‑type window that contains only text. You might use this type of window to display such items as messages, errors, or help information.

The window name must be unique within the set of windows in the library.

If you use .PLACEMENT, height and width must be set to values that enable the general window to fit in the application window, unless you first use .DISPLAY_AREA. (You can use .DISPLAY_AREA to define a display area that fits in the application window, even if the general window you are defining doesn’t. See .DISPLAY_AREA.) The .PLACEMENT command causes Script to logically place the general window, which in turn causes Script to determine whether the window will fit in the application window. (See .PLACEMENT.)

See also

Examples

The following example defines a window named win, which is 9 rows by 12 columns.

.window win, 9, 12