Text to Speech Functionality

T

Torgeir Bakken \(MVP\)

fahlawy said:
How can I call the "Text to Speech" functionality in windows xp
through wmi?
Hi

I don't think WMI have this capability, try this instead in a VBScript:

'--------------------8<----------------------
Set oSpVoice = CreateObject("SAPI.SpVoice")
oSpVoice.Speak "Have a nice day"
'--------------------8<----------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top