Sunday 26 June 2011

How to create own Speaking Program




Hi Friends...
Now i am going to show you how to create your own program i.e its just an VB script which makes you Computer to speak what ever you input...!


This is a VB script. Just Open Notepad and copy the below script,


Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message



Save the file as ANYTHING.vbs and close notepad.
Open the file and write what you want to make your system to speak and hit OK.


Dats it...

No comments:

Post a Comment