Command Reference — File category — Add to Favorites command

# Add to Favorites command

## Summary

Adds the current file to the list of favorites.

## Description

Adds the current file to the list of favorites.

## How to Run

- Default Menu: File > Favorites > Add to Favorites

- All Commands: File > Favorites > Add to Favorites

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_ADD_TO_FAVORITES (23250)

## Macros

## [JavaScript]

    editor.ExecuteCommandByID(23250);

## [VBScript]

    editor.ExecuteCommandByID 23250