Guest dannygudovich Report post Posted 01/08/2004 08:48 AM Hi On the "run VB script module" (Execute-IE) I'm executing some commands (open IE and execute a URL - wich works well), but it doesn't return a "success" meaning it doesn't continue to "GoodBye". Why? I don't want to change it to "Do not wait till VB script complete.". Danny. 104103.70 0 [Execute-IE] Running VB Script... 104103.72 0 RVreplace start (strlen>100) 104103.75 0 Run Script waiting... (shellid=632, process=1140) 104104.81 0 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 104104.81 0 task completed (shellid=632, process=1140) 104104.83 0 No information returned from program to VG (no VGRUNRESULT_0.TXT or SHLRESLT.TXT) 104104.84 0 Hanging up call... [WaitTillFinished - next module not specified] dannyg.zip Share this post Link to post
SupportTeam Report post Posted 01/08/2004 09:51 AM If you wish to return information from VBScript back to VoiceGuide then you should use the VoiceGuide COM function: Run_ResultReturn From VG Help file's section on Run VBScript Module: Wait until VB Script completes option If the 'Wait until VB Script completes' option is selected then VoiceGuide will wait unit the VB Script finishes running, or a response from the executing VB Script is received. VB Script can send responses back to VoiceGuide while it is executing by calling one VoiceGuide's ActiveX/COM functions. The functions which are considered to return a result back to VoiceGuide are: Run_ResultReturn(), Script_Gosub(), Script_Goto(), Script_Return(). For more information on VoiceGuide's ActiveX/COM interface please see the COM Interface section of Help file. Once VoiceGuide detects that a VB Script has completed (and no COM response was received beforehand) then VoiceGuide will see if a "Result File" has been created by the script. If one has been created then VoiceGuide will read in it's contents and then determine what to do next based on the contents of the file. The syntax of the Result File is the same as that used by the Run Program module. The Result Files must be placed in VoiceGuide's data subdirectory. Please refer to the Run Program module Help file's section for more information. If the 'Wait until VB Script completes' option is selected, and no result file is created then the "Fail" path is taken after the VB script completes. ie: if the 'Wait until VB Script completes' option is selected then an explicit "Success" result must be returned to VoiceGuide in order for it to go down the Success path. Share this post Link to post