Command Reference — File category — Save Workspace, Save, and Close All (Current Desktop Only) command

# Save Workspace, Save, and Close All (Current Desktop Only) command

## Summary

Saves the workspace, saves and closes all open files in the current virtual desktop.

## Description

Saves the workspace, saves and closes all open files in the current virtual desktop.

## How to Run

- Default Menu: None

- All Commands: File > Close > Save Workspace, Save, and Close All (Current Desktop Only)

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_SAVE_WORKSPACE_CLOSE_DESKTOP (3937)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(3937);

### [VBScript]

    editor.ExecuteCommandByID 3937