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

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

## Summary

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

## Description

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

## How to Run

- Default Menu: None

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

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_SAVE_WORKSPACE_QUIT_DESKTOP (3938)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(3938);

### [VBScript]

    editor.ExecuteCommandByID 3938