Wednesday, 9 November 2011

Trick: Make Your Computer Speak Whatever You Type!

Now you can convert your computer in to a text to voice software. You can make your computer speak whatever you type. For this you don’t require any programming knowledge, You can achieve this by a simple trick. Just follow the steps given below to make your computer speak whatever you type :
Step 1 : Open a notepad and cope and paste the code given below.
Dim message, sapi
message=InputBox(“Type the text which you want me to speak”,”Text To Voice Software”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message
Step 2 : Save The notepad file as speak.vbs (you can save it with any name but extension should be .vbs).
Step 3 : Now double click on the file and type in the box whatever you want the computer to speak and click ok.
 
If Audio driver is not installed you would get below error message.
 

No comments:

Post a Comment