Description

Records a line of text

Return Type

None  

Syntax

object.RecordLine Text, [OnlyLastOneID]

The RecordLine Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McRecorder.
TextRequired. A String value.

The text to record on the line. This text is automatically pre-pended with a single tab character.

OnlyLastOneIDOptional. A Long value.

is mcRecordOnlyLastOneNow, and no recording is done - see Example). Pending OnlyLastOneID is also flushed (recorded) whenever any other McRecorder action is called for (e.g., Start, Stop, Pause, Resume, Record, Undo, etcetera).

Remarks

The line of text is recorded to both the audit log, and if recording has been started, to the macro being recorded.

Recording may optionally be deferred for cases where only the last of a series of actions needs to be recorded (see OnlyLastOneID argument and the Example).