I don't believe so. It would require an event to monitor speech; something like: OnSpeechComplete. And this would require synthesizers to return True to indicate when they've stopped speaking.
I think some of them do, or at least the hardware ones used to.

And trying to create a speech time function would at best be a calculated guess given the wild variations in actual speed relative to the speed value depending on the synthesizer being used. I tried this a long time ago and ended up with unpredictable delays after speech completed because I had to leave a healthy time buffer to make sure it worked. And that was only working with one particular synthesizer.

Regards,
Tom


On 12/12/2012 9:31 PM, BX wrote:
Hi!
     I know this has been asked before, butwhen the screen speech or any
of the 3 is given, (Screen, Keyboard, and Mouse) can everything be
stopped, script actions, until the speech is over?
     I looked every where on the Object Model and I could not find
anything that said, "Wait Until Done Speaking."
     There was one wait command but that was for key action, not speech.
     What I need is a way to say something before any other script
action is done. The sleep takes too much math to be useable...
Bruce

Reply via email to