VoiceGuide IVR Software Main Page
Jump to content

Passing Variable To 'digits To Be Spoken' Box

Recommended Posts

Hi,

 

I have two modules, one is VBScript and another is Speak Number/Amount/Date.

 

The VBScript generates a four digit number for me. That number is stored in variable myVar.

Dim myVar
....
myVar = value1 + value2

 

How can I make this variable to be pronounced in 'Speak Number' module?

 

I tried placing $RV[myVar] in 'Digits to be spoken' box (in the Speak Number module), but I wasn't successful. Can you tell me what I am doing wrong, please?

Share this post


Link to post

See below:

 

set vg = CreateObject("VoiceGuide.CommandLink")

...

myVar = value1 + value2

vg.Run_ResultReturn $RV_LINEID, "[ThisIsRvHoldingValueOfMyVar]{" & myVar & "}"

set vg = Nothing

 

Use $RV[ThisIsRvHoldingValueOfMyVar] in the Say Number module

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×