Platform SDK: Web Telephony Engine

Using Enumerated Types in Scripts

Unlike Visual Basic or Microsoft Visual C++®, scripting languages, such as VBScript or JScript, do not support the use of enumeration constants. For the convenience of script authors, the Platform SDK provides a pair of script files that contain definitions of constants used with various properties of Web telephony engine objects.

MswteEnum.vbs contains constant definitions used with VBScript while MswteEnum.js contains the same definitions for use with JScript. Copy the declarations you need from these files and paste them into your scripts.