Pages

Thursday, July 12, 2012

How to Make your Computer Talk!







This is a visual basic script file that will pop up an message which requires
you to write something...
when you write it and press ok
your computer will tell what you typed



Paste This Code on your notepad and save it as talk.vbs

Code:
Dim userInput


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


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

Sapi.speak userInput
NOTE: Be sure to save it in a .vbs file extension 




 

No comments:

Post a Comment