Programming with Reflection
StopRecording method
Syntax object.StopRecording Filename, Target, [IfFileExists]
Stops recording and creates a Reflection Basic script. If the recorder is already stopped, this method returns without generating an error.
Filename Argument Type: String
Required
Specifies the name of the Reflection Basic script file to be created.
Target Argument Type: Enumeration
Required
Specifies the language in which actions are to be recorded. The possible values are:
rcRBSource
Saves the actions as Reflection Basic commands.
rcVBSource
Saves the actions as Visual Basic commands.
rcRCLSource
Saves the actions as RCL commands.
IfFileExists Argument Type: Enumeration
Optional
Specifies what to do if the file already exists. The possible values are:
rcCancel
Generates an error if the file already exists.
rcOverwrite
Overwrites (replaces) the existing file
If this argument is omitted, the default value (rcCancel) is used.