Friday, 8 November 2013

Want your Computer to Talk ;)

TALKING COMPUTER
You can create voice 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("aslam-o-alaikum friend. order me to talk something?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

in this code i have written (aslam alaikum 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.

1 comment:

  1. WELL I TRIED IT BUT IT DISPLAYED WINDOWS SCRIPT HOST IS DISABLED ON YOUR MACHINE ,,,,,,PLS, ANY HINT?

    ReplyDelete