Monday, November 26, 2012

Parrot! No, your computer will speak from now!!!

Many of us will think how is it possible?
Let’s know how it is possible!

Go to Start => All programs => Accessories => Note pad and copy the bellow code and past.

Dim message, sapi
message=InputBox("Hi this is Shaon. Do you want ur computer to speak?","for more tricks visit")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

Now save the file with .vbs extension (Example: Shakil.vbs)

Now open the file with click and type what you want to listen and see the magic.
Stay with us to get more funny and attractive tips. Thanks.

No comments:

Post a Comment