|
$window
Retrieve the id of a specified window.
|
Usage |
$window
$window(<caption_text>)
|
Description |
Returns the window id of the first window that
has the specified <caption text>.
If no window matches the specified <caption text>, and invalid
window id is returned (0).
If no <caption text> is specified , this function returns the id
of the current window.
|
Syntax Specification |
<string> $window
<string> $window(<caption_text:hash>)
|
Examples |
echo This is the window with id $window
|
|
See also |
$channel,
$query,
$console,
window naming conventions
|