# Macro command parameters

Macro command parameters define the conditions and the way the macro command is going to be executed.

To set up the additional parameters for the macro command created complete the recording using `Ctrl-Shift-.` instead of `Ctrl-.` and choose its parameter values using the dialog box:

Allow screen output while executing the macro
Setting this parameter to 0 will disable screen refreshing operations for the time necessary to complete the macro command execution. All changes made to screen content will be complete after the command execution.
Execute after FAR Manager startup
Allows to execute the macro command immediately after FAR Manager startup.

The following conditions are possible for the active and inactive panels activating the macro command:

Panel type

    [x] - execute if the panel is used by a plugin
    [ ] - execute if the panel is used by FAR file list
    [?] - ignore the panel type

Execute for the folders

    [x] - execute if there's a folder under the cursor on the panel
    [ ] - execute if there's a file under the cursor on the panel
    [?] - disregard the type of an element under the cursor

Selection is present

    [x] - execute if there are files or folders selected on the panel
    [ ] - execute if there are no files or folders selected on the panel
    [?] - ignore the file or folder selection state

Miscellaneous activation conditions:

Command line is empty

    [x] - execute only if the command line is empty
    [ ] - execute only if the command line is not empty
    [?] - ignore the command line state

Text block is selected

    [x] - execute only if there's a selected text block in the internal viewer/editor, command line or dialog input text box.
    [ ] - execute if there's no selected text block
    [?] - ignore the block selection state

Notes:

- * FAR Manager checks all above conditions before executing the macro command.
- * 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. To assign one of these key comdinations select it from the drop-down selection box instead.

See also:
Record a macro, Delete a macro