expression.RunExpressMacro( _ ByVal macroName As String _ )
where expression is a variable that represents a Macro Object
Parameters
- macroName
- Specifies the fully qualified file name of the macro to run.
expression.RunExpressMacro( _ ByVal macroName As String _ )
Exception | Description |
---|---|
IO.FileNotFoundException | Thrown if the macro file does not exist. |
Sub RunATestExpressMacro() Dim sessionPath As String sessionPath = Environ$("USERPROFILE") & "\Documents\Micro Focus\Reflection\Macros\Express\" & "test.js" ThisIbmTerminal.Macro.RunExpressMacro (sessionPath) End Sub