Text to Speech Functionality

  • Thread starter Thread starter fahlawy
  • Start date Start date
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<----------------------
 
Back
Top