ConsoleClass.
Closes all open consoles or all consoles with a specific caption.
This functionality is supported only if you are using the Open Agent.
Console.CloseAll ([sCaption])
| Variable | Description |
|---|---|
| sCaption | Set this parameter to close only the consoles with this caption. STRING |
Console.CloseAll("MyCommandWindow")