Close all windows

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

Syntax

Close all windows

Description

This command closes all open window instances in all open libraries, and automatically cancels any working message. The Close all windows command does not close private instances which do not belong to the current task.

Example

# Prompt to close all open windows
Yes/No message {Do you wish to close all windows ?}
If flag true
  Close all windows
End If
# Alternatively, the $sendall command can be used to close
# all windows
Do $root.$iwindows.$sendall($ref.$close())