Wednesday, May 12, 2010

A Funny! trick to make your PC speak whatever you type

Hey guyz... This is a simple and funny trick which makes your PC to speak whatever you type in your keyboard. With this trick you can create your own text to speech converter software to make your computer speak whatever you type. This is a funny and pretty cool trick. Just run the script file. Copy the code given below in the notepad and save it with any name but the extension should be .vbs i.e "anyname.vbs".
The scripting code is:
Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message



After doing this vbs file just double click on that file and you will get a window like thisThen you can type anything in the text-box of that window. The response will be in the form of speech.

Enjoy...!!!!!

5 comments:

  1. Now this is pretty cool, I am surely going to make my computer annoy people by speaking ;)

    ReplyDelete
  2. This blog founds to be very usefull... keep going like this man...

    ReplyDelete
  3. sure we will....Thanks for the comment dude...

    ReplyDelete