Friday 1 November 2013

HOW TO MAKE COMPUTER SPEAK WHAT YOU TYPE

TRICK TO MAKE COMPUTER SPEAK WHAT YOU TYPE.
Windows comes with a built-in voice system which only few people realize.  In this tutorial,I'll be giving you a script which can make your computer speak whatever you tell it to.
NOTE»If this script does not work for you,then that means you do not have the "SAPI" installed on your pc.

HERE'S THE SCRIPT.
Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message
HOW TO USE THE SCRIPT?
Open Notepad,copy-paste the script above and save it as speak.vbs.Make sure you include the .vbs Now,double click on the saved note,i.e speak.vbs and you’ll see an input box. Next,type in your message and press enter; Your computer should speak to you now.
COMPUTER DOES NOT SPEAK?
Like I mentioned above,in the case your computer doesn't speak,it could be either»
Your browser displays the quotation marks differently. Go back to Notepad and open the note you saved earlier.Replace the quotes(") & make sure it displays well. Save the file and try it again.
You do not have the SAPI installed on your computer which can only be the case of a pirated copy,because the Sapi comes pre-installed on computers.
That's all.You can use this anytime to amuse your friends or just play around with it when you are bored.

No comments:

Post a Comment

Comment