VBScript Technical Information

Product Information
Sample Programs
Project Setup

Sample Programs

Click here for a complete list available sample programs provided by ExceleTel.

Here is a list of sample programs that were written using VBScript:

 

Project Setup

The steps to create projects within VBScript are as follows:

  1. Using Notepad or another HTML editor copy the statements below into the top portion of the HTML document.  You only need to add the states for the control you intend to use.  

    <OBJECT ID="etLine1" WIDTH=24 HEIGHT=24
    CLASSID="CLSID:0F05578D-6221-45CC-BDDC-3BACAC041219">
    <PARAM NAME="AboutSerialNumber" VALUE="3U1B-115P-TD01-34L0">
    </OBJECT>

    <OBJECT ID="etPhone1" WIDTH=24 HEIGHT=24
    CLASSID="CLSID:9CCB0EB7-CE49-4837-8079-2FF5985F59AC">
    <PARAM NAME="AboutSerialNumber" VALUE="3U1B-115P-TD01-34L0">
    </OBJECT>

    <OBJECT ID="etPlay1" WIDTH=24 HEIGHT=24
    CLASSID="CLSID:1DEC032F-0253-4880-BE67-65BF74CDFD2C">
    <PARAM NAME="AboutSerialNumber" VALUE="3U1B-115P-TD01-34L0">
    </OBJECT>

    <OBJECT ID="etRecord1" WIDTH=24 HEIGHT=24
    CLASSID="CLSID:DCE9E512-1251-4AA3-A761-D743AC48169D">
    <PARAM NAME="AboutSerialNumber" VALUE="3U1B-115P-TD01-34L0">
    </OBJECT>

    This must be done before any attempts to reference the etLine, etPhone, etPlay or etRecord controls found in the TeleTools etTT37.exe ActiveX component.
    The Active X Control Pad can be used as an editor. It allows you to add the component information automatically.

    You will need to replace the AboutSerialNumber value with your serial number.
    Be sure to review the information in the "Getting Started | Why Serial Numbers Are Important" topic of the ExceleTel TeleTools  help file.

  2. Using the information in the TeleTools constant file (etTTConst.vbs) create a file using only the constants required by your application.
    Using Notepad or another HTML editor copy this statement into the body portion of the HTML document:

    <script SRC="your file name" language="VBScript"> </script>

    This must be done before referencing any of TeleTools TAPI constants. When your application is complete you should include only the constants required. This will improve performance.