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
>
>
>
>
> ------------------------------------
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: [email protected]! Groups Links
>
>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.425 / Virus Database: 270.14.60/2496 - Release Date: 11/11/09
> 07:40:00
>
>