window
window(x_windowNumber) =>w_windowId/nil
Description
Given a window number, gets the window ID.
This function cannot get the windowID of session windows. It does, however, get the windowID of windows contained in session windows.
The window number is the number displayed in the lower-left corner of the window. The Command Interpreter Window is window 1. As windows are created (either interactively or with hiCreateWindow or hiOpenWindow), they are given higher window numbers. Windows that are in session windows have their number in parentheses—for example, if the session window displays 3(5), the window number of the window contained in the session window is 5 while the session window number is 3.
Argument
|
The window number, which is displayed in the lower-left corner of the window. |
Value Returned
|
There is no window associated with the specified window number. |
Examples
hiSetCurrentWindow( window ( 5 ) )
=> t
Related Topics
Return to top