Parameter | Description |
---|---|
iExecutionId | Unique script identifier |
iErrorCode | Error code in case of an error (0 if successful) |
sResult | Execution result |
Procedure OnExecuteScriptFinished UBigInt iExecutionId Integer iErrorCode String sResult
This message is sent whenever a script executed using ExecuteScript is finished.
It can be used to see if errors occurred (iErrorCode) and to handle the result of the script (sResult).
If the script does not have a result, then sResult will be the string "null". See ExecuteScript for an example of OnExecuteScriptFinished.