Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSAgent - How can I tell if it is speaking?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00564185
Message ID:
00564425
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>>>I'm using msagent with VFP5. Is there a way that I can tell if the
>>>agent is speaking or not?
>>
>>Hi Joe,
>>
>>The speaking Agent should show the words balloon. If you see the words there - it is speaking. If you don't hear anything, the speech engine might not be installed properly (it is a separate installation). You might try my FoxSpeaker utility, there is more info in a DOC file there.
>
>Sorry that wasn't my point. My agent speaks fine. The speaking is async so I
>want a way to hold off my app till the agent is done speaking.
>
>Something like...
>
>myAgent.speak('This is a test')
>
>do while myAgent.CurrentlySpeaking
> doevents
>enddo
>
>Unless there is a way to turn off async mode?

Oh, sorry, I see what you mean.

Yes, you can get the status of your asynchronous request (such as Load, Get, Play, and Speak) through the Request object.
See "The Request Object" part in progagentcontrol.doc which you can download from MS site http://www.microsoft.com/agent2/sdk/alldocs.exe
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform