yair Report post Posted 09/02/2005 09:08 AM Hi, I have a variable in VB script, let say t1 = " Hello This Customer Name Blab bla " I want to play it using the TTS engine does someone have a source code example on how i play TTS using the VBS Moduel in VoiceGuide? Thank again Love the program Yair, Share this post Link to post
SupportTeam Report post Posted 09/02/2005 02:01 PM The approach would be to save the text as a "Result Variable", and then in a Play module just specify that Result Varaible to be played. You can set RVs when returning from VBScript (see Run_ResultReturn, RvSet and Script_Goto COM functions) Share this post Link to post
yair Report post Posted 09/02/2005 07:16 PM Thanks for your quick reply I read the help file but I really can't find any option of how to select that the text - to - speach ... will be read from a *.txt file ... ALSO how do i Select the TTS engine where is the setting for that? Share this post Link to post
yair Report post Posted 09/02/2005 07:28 PM Ignore the last message... I am sorry I don't really understand how to work the models of sending Text to speach from a VB script can you give me an example that i can figure out what exactley i need to do... Also again how do i select the TTS engine I can't find this option And how long is the trail period ... I need to hurry i think i installed the progi a week ago.. Thanks again Yair, Great program ! Share this post Link to post
SupportTeam Report post Posted 09/02/2005 11:34 PM The TTS used is the one which is selected as the default TTS in the SAPI control applet in the Windows' Control Panel. Trial period is unlimited - you just need to restart software every hour. Share this post Link to post
yair Report post Posted 09/03/2005 12:12 AM Thank you for your quick reply But Could you please give show me an example of a VB source code on how to start the TTS file from the VB script? Share this post Link to post
SupportTeam Report post Posted 09/03/2005 01:24 AM As per previous post: The approach would be to save the text as a "Result Variable", and then in a Play module just specify that Result Varaible to be played. You can set RVs when returning from VBScript (see Run_ResultReturn, RvSet and Script_Goto COM functions) See attached script for sample. PlayTtsFromVbs.vgs Share this post Link to post
yair Report post Posted 09/03/2005 10:32 AM Thanks alot works !!!!!!!!!!! Share this post Link to post