To use the Microsoft Speech API in VBScript you can use the following snippet.
Sample VBScript
dim sTextToSpeech sTextToSpeech = "HELLO WORLD!" set ObjVoice = CreateObject("SAPI.SpVoice") ObjVoice.Speak sTextToSpeech
All the Code Snippets and Samples you need
To use the Microsoft Speech API in VBScript you can use the following snippet.
dim sTextToSpeech sTextToSpeech = "HELLO WORLD!" set ObjVoice = CreateObject("SAPI.SpVoice") ObjVoice.Speak sTextToSpeech
You must be logged in to post a comment.
RT @CodeSnippetsNET: Using the Microsoft Speech API in #VBScript http://t.co/3wzvEGwAFB #vbs #programming