1.) Open notepad and copy the below code.....
DIM message, sapi
message=InputBox("What do you want me to say?","Speak to Me")Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message
2.) Now save the document as "filename.vbs"(you can replace your own name with filename) and Save as type to "All Files".
In my case, i will save as Speak.vbs.
It should look like this..
3.) Open Speak.vbs, type anything and your computer will talk to you...
Enjoy !!!!!
No comments:
Post a Comment