Allows you to close any of the open desktops associated with the current clientClient. See the Multi-Monitor Clients page for more details about using multiple monitors.
|Client permissions restrictions|
String handle - The handle for the desktop to close. The screen index cast as a string may be used instead of the handle. If omitted, this will default to the Primary Desktopprimary desktop. Alternatively, the handle "primary" can be used to refer to the primary desktop.
system gui closeDesktop, gui.closeDesktop