VoiceGuide IVR Software Main Page
Jump to content

Run Multiple Scripts Within A Script

Recommended Posts

VG 5.2.5049

 

Hello guys, is there a way to switch between several scripts from another?

 

I have several scripts that do a function each, so I need to create another script as a main menu to choose what script to run.

 

Any idea?

 

Thanks in advance.

 

 

FM

Share this post


Link to post

Just specify the script's filename in the path to be taken.

 

From: http://www.voiceguide.com/vghelp/source/html/paths.htm :

 

Branching to other scripts and calling subscrips.

 

The Enterprise and Evaluation versions of VoiceGuide can call subscripts.

 

To branch (goto) to a script you can specify a path like this:

 

on {event} goto [script filename|module name]

 

eg: on {1} goto [c:\scripts\myscript.vgs|PlayWelcome]

 

To run a subscript (gosub) to a script you can specify a path:

 

on {event} gosub [script filename|module name]

 

eg: on {1} gosub [c:\scripts\myscript.vgs|PlayWelcome]

Share this post


Link to post

Oops, didn't read that part of the help.

 

It's great. Thanks a lot.

 

 

FM

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
×