@WINEXISTS |
|
| Top Previous Next | |
Syntax:
@WINEXISTS(<window>,<child window>)
Description:
This function is used to determine whether the window <window> is present or not. It returns the window identifier if a main window or dialog box with a title bar of <string> exists, and null (false) if not. The <window> is specified using its full title bar text or its class name.
To determine whether an MDI child window exists, or obtain its window identifier, the optional <child window> argument must be supplied, giving the full title bar text of the required window which is a child of <window>.
OK:
Unchanged.
Example:
if @not(@winexists(Untitled - Notepad))
run notepad.exe
end
See also: