record Command

Records keystrokes to a macro file.

Scope: Global

Syntax

Parameters

on 
Start or restart recording.
off 
Stop recording.
inverse 
Toggles between on and off.
play 
Play back recording.
continue 
Continue recording.

Description

The record command records keystrokes to a macro file that can be played back at a later time. Playback is within the context of the current insert/replace mode.

Keystrokes are recorded to the RECORD.LX macro file in the directory pointed to by the TMP environment variable.

Subsequent recordings will overwrite the RECORD.LX file. If you want to save the recording for later use, you should save this file under a different name, keeping the LX file name extension, to the macros directory as described below. You can use the macro command to play back this saved macro at a later time.

Note: Use the /usr/vatools/macros directory.
Use the product_installation\macros directory.

Example

To start recording, type:

record on 

API Return Codes

-20 
The recorder was not recording.
-21 
There is no recording to play back.
-22 
The recorder is already recording.
-23 
There is no existing recording to continue recording with.
-24 
An invalid option was specified.
-25 
The recording contains nothing to play back.

macro Command