Hi, The function SpeechInUse() should tell you if jaws is speaking or not. -----Original Message----- From: Octavian Rasnita Sent: Saturday, February 09, 2013 5:29 PM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Speaking a text with a specified voice? Hi, Is it possible to create a JAWS script that speaks a text with a specified installed voice, then after it finishes, switch back to the default voice? I tried: SetActiveVoiceProfileByName ("Carmen2") SayString(sTrText) SetActiveVoiceProfileByName ("Eloquence") But nothing is spoken. When the function SetActiveVoiceProfileByName() is called the second time, it stops immediately the speech. I have found this by doing: SetActiveVoiceProfileByName ("Carmen2") SayString(sTrText) Delay (50, TRUE ) SetActiveVoiceProfileByName ("Eloquence") This time the text was spoken as wanted, but I wasn't able to use the computer for a few seconds after that, because of the Delay() function. I guess that it is not possible to calculate how much time it would take to speak a certain text with a specified voice, but isn't possible to detect somehow when JAWS finished speaking, in order to be able to switch the voice in that moment? I also tried using SetSynth ("eloq") but it didn't help either. Thanks. --Octavian __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts