Thursday, April 5, 2012

Make your PC speak


Now you can create your own text to speech converter software to make your computer speak whatever you type. This is a VBS script trick and It’s pretty cool. Just run this script and make it read any funny sentence. Copy the code given below in notepad and save it as anyname.vbs. Make sure that you save it as .vbs file.
Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message
Note: If copy paste doesn’t work then you have to type the code yourself. (Make sure of the double quotes used in the code in the copy/paste case)
After making a vbs file just double click on that file and type anything you want in the textbox.

No comments:

Post a Comment