Script_Goto

Jump to new VoiceGuide script and/or module.

Syntax

object.Script_Goto iLineId, sDestScript, sDestModule, sRvList

Part

Description

object

VoiceGuide object

iLineId

Identification number of the line

sDestScript

The filename of the VoiceGuide script where the module subscript is located. If the subscript is in the same VoiceGuide script as the calling module then this entry can be left blank.

sDestModule

Name of the starting module. If left blank then the script's default starting module is used.

sRvList

List of Result Variables and their values. Each RV-Value pair is in format [Name]{Value} a number of RV-Value pairs can be specified one after another.

Notes

If the module names are blank then the default starting modules in the script are used.

When used in the Run VBScript modules: the jump to next module is made immediately when Script_Goto is called, so Script_Goto usually should be the last function in the script (before 'set vg = Nothing')

 

Example

set vg = CreateObject("vgServices.CommandLink")
vg.Script_Goto $RV_LINEID, "GetPayment.vgs", "", ""
set vg = Nothing