Programming with Reflection

image\rwnprg32.gif GetCommandRecording method

 

Syntax Recordability = object.GetCommandRecording(Command)

 

Description

Returns a value indicating whether the specified method can be recorded. Use SetCommandRecording to disable recording of a method. When you disable a method for recording, you make it impossible for the recorder to "see" the equivalent action. So, for example, if you disable recording of OpenSettings, you prevent the macro recorder from being able to see when the user clicks the Open command on Reflection's File menu.

Arguments

Command Argument type: String
Specifies a Reflection method. For example, "Connect". An error occurs if this value is not a recognized method. This argument is not case sensitive.

Return

Recordability Return type: Boolean
Returns -1 (True) if the specified command is recordable, and 0 (False) if it is not.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command