I'm not using SAPI Bruce, so can't use these functions directly, although windoweyes does have equivalents to some of these.
Chip -----Original Message----- From: BT [mailto:[email protected]] Sent: Thursday, July 15, 2010 7:45 PM To: [email protected] Subject: Speech Question Chip, Yes, I think you use a get status function/method for sapi 5 and such. I will get the format later if you don't already have it. End of sentence status is what you want for your loop... I do not think there would be any choppy voice by doing this for the wait is only for looking at the event and nothing to do with the speech. Bruce thanks, I'll think about this. I'd have to make it work for those with braille displays, and I don't want to make it come out choppy, or utilize to many resources or slow down the system with some polling loop (although choppy is really the only worry it looks like to me with this approach). still, it's interesting, thanks. Chip -----Original Message----- From: BT [mailto:[email protected]] Sent: Thursday, July 15, 2010 6:25 PM To: [email protected] Subject: Speech Question Hi Chip, Maybe something like this: Using milliseconds inside the () Public Sub Talk(txt) tts4.Speak txt waitFlag = tts4.Speaking Do While waitFlag WScript.Sleep 10 waitFlag = tts4.Speaking Loop End Sub
