# Assigning macro commands

Macro command can be assigned to:

1. any key;
2. any key combination with Ctrl, Alt and Shift modifiers;
3. any key combination with two modifiers. FAR is capable to recognize the following double modification keys: Ctrl-Shift-<key>, Ctrl-Alt-<key> and Alt-Shift-<key>

Macro command cannot be assigned to the following key combinations: Alt-Ins, Ctrl-<.>, Ctrl-Shift-<.>, Ctrl-Alt, Ctrl-Shift, Shift-Alt, Shift-<character>, Ctrl-Alt-Shift.

Macro command cannot be assigned to the following system key combinations: Alt-Space, Alt-Shift-Space, Alt-Enter, Alt-Shift-Enter.

There are several key combinations (particularly Enter, Esc, F1, Ctrl-F5, Ctrl-Down, MsWheelUp and MsWheelDown with all Ctrl, Shift and Alt combinations) that cannot be entered in shortcut assignment dialog box directly because these combinations perform some special functions in FAR. These key combinations should be selected using the drop-down selection box instead.

See also:
Record a macro, Delete a macro