Sorry to send one more post on this. I hope this may be useful for others in similar predicament. My so called latest SDK download did not work. I am not sure if it was an SDK at all ! I am searching the internet for a free download of SAPI 5.3 which seems to have the WaitUntilDone function. Would anyone have a clue about this. Are there any alternate solutions to this problem? Thanks-in-advance. Would really appreciate any input on this.
Regards TFE http://totallyfreeenergy.zxq.net --- In [email protected], "totallyfreeenergy" <totallyfreeene...@...> wrote: > > I have used the sleep function before. However I really dont know how it is > threaded. When I tried it in this application, it failed to execute as it > should. Compiles and crash free. However the sleep happens at the wrong time > and in a wrong way. Thanks for the suggestion. It is a simple way to fix it, > if it worked as it should. > > Regards > TFE > http://totallyfreeenergy.zxq.net > > --- In [email protected], Doug Hale <delphi@> wrote: > > > > A simple way is to manually time how long the speech takes and then > > Sleep() for that long. > > > > Doug > > > > > > totallyfreeenergy wrote: > > > I have a tricky problem while using Microsoft TextToSpeech component. > > > When I start the speak say > > > > > > Form1.TextToSpeech1.Speak("After I stop speaking comp1 will become > > > visible"); > > > Form1.Component1.Visible := true; > > > > > > I would like to achieve a pause till the TextToSpeech1 stops speaking > > > then go to the next statement. > > > > > > If anyone has any ideas on this, pl. help ! > > > > > > Regards > > > TFE > > > http://totallyfreeenergy.zxq.net

