Wednesday 16 July 2014

Making Talking Computer Software

You can create voice software from your computer. whatever you will write in the box, computer will talk the same words. process the given below. 

open notepad and write this code. 

Dim message, sapi
message=InputBox("Namaste friend. order me to talk something?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

in this code i have written (Namaste friend order me to talk something) but you can change it but don't change any other word from the code.

Now save this file with extension .vbs
Now write some thing in the box and click ok
You will hear the written sentence.
Try it now.

0 comments:

Post a Comment