Social Icons

Saturday 7 July 2012

Make Your Computer TALK!



Firstly open notepad,

Then copy and paste the below mentioned texts

Code:


Dim userInput


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



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

Sapi.speak userInput

then save it in any name that you like but 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!!!


Enjoy!!!

No comments:

Post a Comment