Thursday, July 22, 2010

Make your computer talk

This is a visual basic script

  • Open notepad
  • And copy                
   Dim userInput


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


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


  Sapi.speak userInput
  • And save file as .vbs
  • And open it and this will tell you your typed message  


No comments:

Post a Comment