VoiceGuide IVR Software Main Page
Jump to content

Need Help With Visual Basic Scripts In Voiceguide

Recommended Posts

Hi

 

We are in the progress of buying VoiceGuide.

We have tested the demo version, but we have a lot of problems with the script.

 

We have tried with the vbs script but it seams that Voiceguide cannot use all of the VisualBasic codes.

If you cannot help us with the script then please send some scripts that use Visualbasic ore some scripts that operate similar to what we want. If this system with Voiceguide works in the way that we wants then we will bye probably 4 licenses more.

 

The script should have the following details.

 

1. Look in a file “d:\test\alarm.txt” for these words ( OPSTART, URTNEDSVALING, WATCHDOG )

2. If one of the following words is in the file Voiceguide should dial op the phone number 66851 and play these wav files ( OPSTART = d:\test\opstart.wav ) Or

(URTNEDSVALING = d:\test\urtnedsvaling.wav ) Or

(WATCHDOG = d:\test\watchdog.wav ). The receiver of the call must press 1 to confirm that he has received the call.

3. After playing the file successful Voiceguide should delete the text in

the file. And then hang up.

4. Then Voiceguide starts over again at step 1.

 

Best regards

Dennis Udengaard

Brewerygroup Denmark

Dju@bryggerigruppen.dk

Share this post


Link to post
it seams that Voiceguide cannot use all of the VisualBasic codes.

VB Script has a subset of commands of Visual Basic - but VB Script is still a very powerful scripting/programming language and is quite capable of doing what you describe below - I'd recommend looking at FileSystem objects and OpenTextFile method. The InStr functions works as in Visual Basic.

 

Full reference on VB Script and a description of functions mentioned above can be found at: msdn.microsoft.com/scripting there are examples supplied in the references that show how the functions are used,

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
×