Friday, August 17, 2012

How To Make Your Computer Talks !

Make Your computer speak
Today i am going to show you how to make your computer talks whatever you type !
Its really cool trick. You can show your geeky skills to your friends by showing them your computer talks with you.
Make your computer Talks : 
1) Open Notepad. Copy and Paste following code :
Dim Message, Speak
Message=InputBox("Enter Text to Talk","Speak")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message 
 2) Save the file, give it any name e.g. Speak.vbs, but make sure you also type .VBS after the name. Also, choose All files instead of the default Text Documents.
 3) Now double click the .vbs file and you should see the window as show below
 4) Type what ever you want and click on OK . That’s it , your computer will speak what ever you typed in the default voice
  

10 comments:

  1. Append this line at the end of the script so you don't have to double click agagin and again..

    Message=InputBox("Enter Text to Talk","Speak")

    ReplyDelete