Phantom Documentation

[Help Home] [Phantom Home]
Exists

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();
}


 


Copyright 2000-2011 Phantom Automated Solutions