Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Macro Object / RunLegacyReflectionMacro Method
Specifies the name of the macro to run. If a macro of this name can't be found in the current settings file or in any referenced files, an error occurs. If you have macros with the same name in different files, precede the macro name with the project name and a period to correctly identify the macro. For example, "SharedMacros.Login" identifies the "Login" macro in the "SharedMacros" settings file. This value can be up to 255 characters long.
An optional string to pass information to the macro.
In This Topic
    RunLegacyReflectionMacro Method (Macro)
    In This Topic
    Runs a legacy Reflection macro.
    Syntax
    expression.RunLegacyReflectionMacro( _
       ByVal macroName As String, _
       ByVal macroData As String _
    ) 
    where expression is a variable that represents a Macro Object

    Parameters

    macroName
    Specifies the name of the macro to run. If a macro of this name can't be found in the current settings file or in any referenced files, an error occurs. If you have macros with the same name in different files, precede the macro name with the project name and a period to correctly identify the macro. For example, "SharedMacros.Login" identifies the "Login" macro in the "SharedMacros" settings file. This value can be up to 255 characters long.
    macroData
    An optional string to pass information to the macro.
    See Also