ScriptModuleEvent Properties



LastCallTime as DateTime

[Read only] Get last calling date and time.

CallType as Integer

Get or set call type:

0 - Never called (disabled);
1 - Every N seconds (N=CallOperand);
2 - Every N minutes (N=CallOperand);
3 - Every N hours (N=CallOperand);
4 - Every N days (N=CallOperand);
5 - Every N weeks (N=CallOperand);
6 - Every N months (N=CallOperand);
7 - Every N years (N=CallOperand);
8 - Before counters resetted;
9 - When all modules loaded;
10 - Before unload modules.

CallOperand as Integer

Get or set call interval. If CallType equal to 0, 8, 9 or 10 - this property ignored.

You can use this property like this:

CallType = 1

CallOperand = 10

in this case event be called every 10 (CallOperand = 10) seconds (CallType = 1).

Name as String

Get or set Name of event.

Description as String

Get or set Description of event.