Powered By Blogger

Friday, June 18, 2010

How to make your computer talk ?

How to make your computer talk ?

   "Hey Yoooo" What happen if your own computer say to you like this. Amazed! huh. 
Recently I come across to this when I found with one simple program writing I can make my PC talk. So friend long talks short I will directly tell you how to make your own computer talk :-

1. Open your notepad.

2. Write down this code
    Dim msg, sapi
    msg=InputBox("Enter your text","Talk it")
    Set sapi=CreateObject("sapi.spvoice")
    sapi.Speak msg 

3. Save the file as sound.vbs

4. Open the sound.vbs file & one pop up window will occur

    
5. Write down something in the text box ("Hey Yoooo") & click OK & then listen the written text on it. 

This trick work in all the version of window.