Attachmate Reflection 2014 .NET API Reference
RunLegacyReflectionMacro Method (IMacro)


Specifies the name of the macro to run. An error occurs if there is no macro of this name in the current settings file or in any referenced files. This value can be up to 255 characters long. If you have more than one macro 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.
An optional string to pass information to the macro.
Runs a legacy Reflection macro.
Syntax
'Declaration
 
Sub RunLegacyReflectionMacro( _
   ByVal macroName As String, _
   ByVal macroData As String _
) 
'Usage
 
Dim instance As IMacro
Dim macroName As String
Dim macroData As String
 
instance.RunLegacyReflectionMacro(macroName, macroData)
void RunLegacyReflectionMacro( 
   string macroName,
   string macroData
)

Parameters

macroName
Specifies the name of the macro to run. An error occurs if there is no macro of this name in the current settings file or in any referenced files. This value can be up to 255 characters long. If you have more than one macro 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.
macroData
An optional string to pass information to the macro.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IMacro Interface
IMacro Members

Send Feedback