Advertisement.

Tuesday, March 16, 2010

Make you computer speak! Really.

1) Open notepad and copy-paste the following lines exactly:

userInput = InputBox("Write a message for me to say")


Set Sapi = Wscript.CreateObject("SAPI.SpVoice")

Sapi.speak userInput


2)Now save the file and give the extension as ".vbs"
3)Open it and you will find a place to write.
4)Write there whatever you want the pc to speak.
5)Press OK and you pc will speak whatever you have written. Be sure to increase the volume of your speakers.
Enjoy!

No comments:

Post a Comment