Paste the following code in notepad :
Dim msg, sapi
msg=InputBox("Enter your text here","Start Talking")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Save the file as xyz.vbs or other name but it must end with .vbs extension. sure that 'All files' is selected on 'Save as type'.
After you double click on xyz.vbs , input the text and press OK. The script will start talking.
2 comments:
August 31, 2008 at 12:58 AM
really cool yaar
September 1, 2008 at 6:28 PM
Thanx dude.[:)]
Post a Comment