March 28, 2011

> How to Make Your Computer Speak Whatever You Type




Open the Notepad.

Copy/Write the code as given below into the notepad.
Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

Save the file with any name with an extension .vbs

Right click on the file you have created,and select Open with Command prompt 

Type the desired word and hit enter.

The next will be the magic!!!

Like us on facebook!!!!!!!!!!! 

 

No comments:

Post a Comment