Make Computer Talk

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


Code:
Dim userInput




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




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


Sapi.speak userInput

0 comments:

Post a Comment