Thursday 23 June 2011

Make Your PC Talk Whatever you want

Just create a new text file with following matter.....

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

now save this file with any name and extension .vbs 

for eg. talk to me.vbs

and save it,and then open it...

after opening it will ask you to enter text.....

enter some text and click ok...

voilaaaa  your pc pronounces whatever you written..



0 comments: