If Window Exists

Conditionally plays a set of steps based on the specified window's state. If the logical expression evaluates to TRUE, any steps following 'If' and preceding 'Else' or 'End If' (whichever occurs first) are played.


  • If window Specifies the type of check to be performed.

  • Which window Specifies a window to search for.

  • Return window's handle into Specifies the name of the variable to which stores the handle of matched window.