ScriptModule



ScriptModule is a member of ScriptModules object and represents global service-side scripting module and loaded at service startup.

ScriptModule has assigned separate ScriptModuleEvents for each ScriptModule object.

 

When module loaded, constants and objects available from script globally:

Constant:

ExeDir - contains string with full path to the netcom.service.exe with trailing backslash.

Objects:

CorrentModule - current ScriptModule object;

TrafficFilter - TrafficFilter object.

 

Note: module reloaded automatically if Text or ScriptLanguage properties changed.