Thursday, 24 April 2014

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("windoroid.blogspot.com friend. order me to talk something?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

replace highlighted  what computer say

·         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.

No comments :

Post a Comment