Programming with Reflection
StopRecordingMacro
method
Syntax object.StopRecordingMacro Destination, Name, Description
Stops macro recording in Reflection and saves recorded commands. The following statement stops macro recording and saves the recorded commands to a macro named "MyMacro" with no description:
Session.StopRecordingMacro rcMacro, "MyMacro", ""
Destination Argument type: Enumeration
Specifies the destination of the recorded code.
rcMacro
Save the recorded actions as a macro in the current Reflection session. Note: Macros are not saved until you save your settings file. You can use SaveSettings to save settings files programmatically.
rcClipboard
Copy the recorded actions to the Clipboard. The syntax used in the recorded code is determined by the ClipboardSyntax and ClipboardPrologue properties.
Name Argument type: String
The macro name.
Description Argument type: String
The macro description. This string can be up to 260 characters long.