The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
BTSubject:
Speech QuestionDate:
Thu, Jul 15, 2010 7:45:18 pmChip,
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:b2me@fltg.net]
Sent: Thursday, July 15, 2010 6:25 PM
To: gw-scripting@gwmicro.com
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
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:b2me@fltg.net]
Sent: Thursday, July 15, 2010 6:25 PM
To: gw-scripting@gwmicro.com
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




