Close all windows

20% Command group 20% Flag affected 20% Reversible 20% Execute on client 20% 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())