Wednesday, September 18, 2013

Make your computer talk what you type !

Make your computer talk what you type !

This is very good and interesting javascript trick which let your computer speaks whatever you type. There is no requirement of any software. Just follow below simple steps.

First open Notepad and copy below codes

Dim msg, sapi
msg=InputBox("Enter your text for conversion– ","By computer freaks")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

Now save the notepad file as text to audio.vbs
Now close the notepad file and open it again.
You will see a window, enter your text in it and click on ok,
Done !!!

No comments: