Test for window open

Command groupFlag affectedReversibleExecute on clientPlatform(s)
WindowsYESNONOAll

Syntax

Test for window open
 
window-instance-name

Description

This command tests if the specified window instance is open. If the window instance is open, Omnis sets the flag, otherwise the flag is cleared. Window instances are opened with Open window instance or the $open() method.

Example

# Open the window wMyWindow if it is not already open

Test for window open
 
wMyWindow

If flag false
  
Open window instance
 
wMyWindow

End If