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:

 Chip Orange

Subject:

 RE: Speech Question

Date:

 Thu, Jul 15, 2010 7:38:58 pm
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