Tuesday, September 18, 2012

Make your Computer Speak

Hello,

Today's my trick is nice. Your computer can speak whatever you type in textbox.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



After making a vbs file just double click on that file and type anything you want in the textbox.

Thats it!

No comments:

Post a Comment