Search This Blog

Home » » Make your computer speak

Make your computer speak

Written By Harsha on Wednesday, 8 May 2013 | 23:44

Make your computer speak




Don't you feel excited when your computer speaks what ever you tell it.
Surprise your friends with this trick and enjoy with your friends.
Lets see how to make your computer speak with you.
Type the following exactly as given below:


Dim msg, sapi
msg=InputBox("Enter your text for conversion– ","By computer freaks")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

Save this file with .vbs extension.
Double clicking on this file will show a popup menu where you can type you own input nd your computer speaks with you.

0 comments:

Post a Comment

Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS