Command Reference — Window category — Always on Top command

# Always on Top command

## Summary

Toggles always on top status.

## Description

Toggles always on top status. When always on top is enabled, the EmEditor window will stay visible when focus is lost.

## How to Run

- Default Menu: Window > Always on Top

- All Commands: Window > Always on Top > Always on Top

- Toolbar:

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_WINDOW_ALWAYS_TOP (4239)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4239);

### [VBScript]

    editor.ExecuteCommandByID 4239