Programming with Reflection

image\rwnprg32.gif 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
The name of a macro file. Include full path information if the macro file is not in the current folder.

MacroData Argument type: String
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.



image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command