This function calls macro.
object.CallMacro(aMacroName[, aTimeOut = 10000[,
aNewEnvironment = false]])
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aMacroName |
In, Required | string |
The name of the macro |
aTimeOut |
In, Optional Default value is
10000 |
int |
The limit for the server macro execution
time |
aNewEnvironment |
In, Optional Default value is
false |
bool |
The new environment of the macro |
object
Run the macro and display the computed result.
Dim aMacroName
Dim aTimeOut
Dim aNewEnvironment
aMacroName = "MyMacro"
aTimeOut = 10000 'ms
aNewEnvironment = false
Profile.CallMacro aMacroName, aTimeOut, aNewEnvironment
void to
object
in v7.8.0