bool Exists(window)
Return Type: bool
Parameters: window Win
Description:
Exists determines if the window indicated by 'Win' is present. The window does
not have to be visible, but has to exist. The function returns true if the window
exists, false otherwise.
Example
Code |
use "Notepad.dec";
bool bRet;
System("Notepad.exe");
bRet = Exists(Notepad);
if(bRet)
{
Notepad.File.Exit.Select();
} |