ISInterface:GetScriptRuntime

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

  • unsigned long GetScriptRuntime(char *ScriptName)

Purpose

Retrieves the number of milliseconds a given script has been running

Usage

Parameters

  • char *ScriptName
[in] Name of the script

Return Value

  • unsigned long
The number of milliseconds the script has been running, or 0 if the script is not running

Examples

unsigned long Timer;
Timer=pISInterface->GetScriptRuntime("test");

See Also