Geo Urdu News

How to Make Your Computer Speak Whatever You Type

Monday, April 11, 2011

How to Make Your Computer Speak Whatever You Type










Create your own text to speech converter software to make your computer speak whatever you type.

Steps

1. Open the Notepad.

2.Copy/Write the code as given below into the notepad.

Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message


3. Save the file with any name with an extension .vbs

4. Run the file, type anything you want in the textbox and press OK.
5. Enjoy !

0 comments: