Admin Production rocket
Current Publication

RunExternalLegacyReflectionMacro Method

Reflection Desktop .NET API Guide V17.1
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
The path and name of the file that contains the macro you want to run. An error is returned if you specify an invalid or nonexistent file.
The macro you want to run. An error is returned if the macro does not exist.
An optional string to pass information to the macro.
RunExternalLegacyReflectionMacro Method (IMacro)
In This Topic
Runs a legacy Reflection macro that is not in the settings file in use for this session.
Syntax

                     
                     
'Declaration
 

                     
                     
Sub RunExternalLegacyReflectionMacro( _
   ByVal macroFileName As String, _
   ByVal macroName As String, _
   ByVal macroData As String _
) 

                  

                     
                     
'Usage
 

                     
                     
Dim instance As IMacro
Dim macroFileName As String
Dim macroName As String
Dim macroData As String
 
instance.RunExternalLegacyReflectionMacro(macroFileName, macroName, macroData)

                  

                     
                     
void RunExternalLegacyReflectionMacro( 
   string macroFileName,
   string macroName,
   string macroData
)

                  

Parameters

macroFileName
The path and name of the file that contains the macro you want to run. An error is returned if you specify an invalid or nonexistent file.
macroName
The macro you want to run. An error is returned if the macro does not exist.
macroData
An optional string to pass information to the macro.
See Also