Close other windows

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


Close other windows


This command closes all but the top window instance. As window instances are not automatically closed in Omnis, you can use this command to close all window instances except the top window instance. The Close other windows command does not close private instances which do not belong to the current task.


; Close all other windows
If len(sys(51)) ;; more than 1 window open
  Close other windows
End If