Test for window open

Command group Flag affected Reversible Execute on client Platform(s)
Windows YES NO NO All


Test for window open {window-instance-name}


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.


; Open the window wMyWindow if it is not already open
Test for window open {wMyWindow}
If flag false
  Open window instance wMyWindow
End If