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

# Save and Close All (Current Desktop Only) command

## Summary

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

## Description

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

## How to Run

- Default Menu: None

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

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_SAVE_CLOSE_DESKTOP (3934)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(3934);

### [VBScript]

    editor.ExecuteCommandByID 3934