Run_ResultReturn

Returns information from the called Program or script back to VoiceGuide - indicating what path VoiceGuide should take next from the "Run Program" or "Run VBScript" modules.

Syntax

object.Run_ResultReturn iLineId, sResult

Part Description
object VoiceGuide object
iLineId Identification number of the line
sResult Result returned to VoiceGuide. Can be "success", "fail", "true", "false" or a string of Result Variables. If set to empty string then the Fail path will be taken

Notes

Used to return results if VoiceGuide is currently awaiting results from a called Program or Script.

If a list of $RVs is returned then a Success path will be taken.

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

 

Example 1

set vg = CreateObject("vgServices.CommandLink")
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing

Example 2

set vg = CreateObject("vgServices.CommandLink")
vg.Run_ResultReturn $RV_LINEID, "[MarketDow]{9,321}[MarketNasdaq]{1,702}[MarketSP500]{990}"
set vg = Nothing

 

VoiceGuide

© Katalina Technologies Pty. Ltd.