Next: , Up: Macros Commands   [Contents][Index]

4.6.1 Record

Syntax: Record [0|1]
Abbreviation: REC

sets the recording state flag. When this flag becomes true, ne starts recording your actions in a new macro. When it becomes false, the macro recording is stopped, and the macro can be played or saved via Play, or SaveMacro.

If you invoke Record with no arguments, it will toggle the flag. If you specify 0 or 1, the flag will be set to false or true, respectively. An upper case ‘R’ will appear on the status bar if the flag is true.

The reason for providing a flag instead of an explicit start/stop recording command pair is that this way it is possible to bind both starting and stopping macro recording to a single key while still being able to specify “absolute” menu items (by using Record 0 and Record 1). For instance, the default key binding for Control-T is simply Record, which means that this shortcut can be used both for initiating and for terminating a macro recording.