# $MMode

The $MMode macro-command toggles the screen refreshing mode during the execution of a macro sequence.
Works as a trigger.

    $MMode 1

### Arguments

1
Should always be 1.

### Notes

1. It is impossible to use macro-language elements while recording a macro in a usual way. Macro-language elements can be added to the sequence only by editing the registry manually or by using special applications or FAR plugins.

### Example

    REGEDIT4

    ;insert the current time

    [HKEY_CURRENT_USER\Software\Far\KeyMacros\Common\CtrlT]
    "Sequence"="$If (Editor || Dialog) $Date \"%H:%M:%S\" CtrlU Space
    $Else $MMode 1 CtrlT $End"
    "DisableOutput"=dword:00000001

See also:
Examples