Pages

Friday, February 25, 2011

Make Your Computer TALK!

Firstly open notepad,

Then copy and paste the below mentioned texts



Dim userInput


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


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

Sapi.speak userInput




and save it as anything.vbs




at the end don't forget to add .vbs

example.
talk.vbs

After you save close notepad, and open the saved file.

There you will see a place to type


In that above mentioned place Type the words, or sentences that you like, after that press OK!!!!

Then you can see your computer talking!!!

0 comments:

Post a Comment