Previous Topic

Next Topic

Book Contents

Book Index

Home Page

Response Variable

The Response variable is a local text variable set to the user's Response as follows:

Experimenting with the Response Variable

It's easy to experiment with the Response variable to see how it changes during a Call Tree. Simply insert the line:

MsgBox "The Response variable = " & Response

at the top of any VBScript Macro. Try it! Modify the Quick-Start Tutorial example to show the Response variable at the Check_Response Node as follows:

Open the Quick-Start Tutorial Answering Machine Example Call Tree file in the Examples folder.

Make a copy of the Call Tree if there are any doubts about being able to restore the Call Tree to normal function later. For instructions on copying Call Trees, refer to Make a Copy of a Call Tree.

Click on the Check_Response Node.

When the Edit Node window appears, click on the VBScript Macro tab.

Insert a blank line at the top of the Macro by pressing ENTER.

On the blank line, type:

MsgBox "The Response variable = " & Response

Press the Click here when finished button.

Simulate some calls by selecting Phone Calls ... Simulate Call from the menu bar. Be sure to vary the response given at the first prompt to see how the Response variable changes.

See Also

Variables Used in Macros

GotoNode Variable

Speak Variables

SpeakInteractive Variables

SpeakInteractiveWave Variables

Record Variables

Touch Tone Buffer Variables

Caller ID Variables

Call Information Variables

TransferCallTo Variable

PlayTouchTones Variable

SendModemCommands Variable

Node Variables

Creating Extra Global Variables