Free Domain Name

Friday, 2 September 2011

computer talks to you

:::::TALK TO ME :::::

This file will play an audio and read out the text from string variable stalk
following steps will help you create a vbs script file. you can use notepad or any text editor for the same.

remember extension of the file should be .vbs

your computer will talk whatever string(text) you have entered in stalk(variable)
1. Goto Start and then Run.

2. In Run option, type NOTEPAD and then press enter.

3. In Notepad, write or copy the following code:

sTalk = "I love my india"
Set objVoice = CreateObject("SAPI.SpVoice")
objVoice.Speak sTalk

4. Save the file as talktome.VBS.
5. Now double click on the file.

your computer would say " I LOVE MY INDIA"

No comments:

Post a Comment

Popular Posts

Free Domain Name Free Domain Name