IsWindowPresent

(This function has been made obsolete by functions contained in the AutoMate™ System Object . It is provided only for compatibility with previous versions of AutoMate™.)

Function : IsWindowPresent

IsWindowPresent is a function that returns a true or false result dependent on whether the specified window caption exists and is visible.

Syntax:

Result = IsWindowPresent(Window Caption)

Results:

True : A window exists and is visible with the corresponding caption.

False : No window exists or is visible with the corresponding caption.


Example:

Sub Main

If IsWindowPresent(AutoMate™) then msgbox(Found a window with a caption of AutoMate™)

End Sub

Related Topics:

Other Scripting Extensions

Scripting In AutoMate™

Run a BASIC Script Action