Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSAgent - How can I tell if it is speaking?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00564185
Message ID:
00564434
Views:
15
>>>>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


Thank you! In the meantime I've been experimenting and think I'll just
use the SAPI SDK. I really don't need/want the agent. Just the TTS.
SAPI does it quick and easy and there is a sync/async parameter for
the speak method.
Previous
Reply
Map
View

Click here to load this message in the networking platform