Monday, September 7, 2009

Make your Computer Talk

http://www.geekalerts.com/u/retro-usb-mic.jpg

Open a text file in notepad and write:

Dim msg, sapi
msg=InputBox( "Enter your text","Talk it")
Set sapi=CreateObject( "sapi.spvoice" )
sapi.Speak msg

Save the file with a (*.vbs) extension,
it will create a VBScript File.
Now open the saved file, input the text and press ok."

You will hear what you typed

this works in Windows XP and in Vista also.

enjoy!!!

No comments:

Post a Comment