Command Reference — Window category — New Group command

# New Group command

## Summary

Detaches the current document from combined windows as a new group.

## Description

Detaches the current document from combined windows (tab group) as a new group. This is the same as dragging a tab outside of the current EmEditor window and selecting New Group when prompted.

## How to Run

- Default Menu: None

- All Commands: Window > Group > New Group

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_NEW_GROUP (4391)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4391);

### [VBScript]

    editor.ExecuteCommandByID 4391