Tuesday, March 16, 2010

Make your computer speak

copy the script in notepad and save it as .vbs and run the script and type abdulkalam is great man and click ok it will say abdulkalam is great man


Code:
Dim msg, sapi

msg=InputBox("Enter your text","My text to speak")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

No comments: