Create a text file and put the following information in it.(Add the bolded text)
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Next step is to save the file with(*.vbs) extension. This will create VBscript file.
Now you will be prompted for text, input the text and Click OK
Pages
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment