Programming with Reflection

image\rwnprg32.gif 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.


 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.


 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.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command