Programming with Reflection
GetCommandRecording method
Syntax Recordability = object.GetCommandRecording(Command)
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.
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.
Recordability Return type: Boolean
Returns -1 (True) if the specified command is recordable, and 0 (False) if it is not.