Programming with Reflection
RunMacroFile
method
Syntax object.RunMacroFile FileName, [MacroData], [Options]
Runs the macro that in the specified macro file. For example, the following statement runs the macro that was exported to Hello.rma:
Session.RunMacroFile "Hello.rma"
FileName Argument type: String
Required
The name of a macro file. Include full path information if the macro file
is not in the current folder.
MacroData Argument type: String
Optional
An optional string to pass information to the macro. Within a macro, use
the MacroData property to access this
information.
Options Omit this argument; it is not currently used.