Wednesday, 23 January 2013

COMPUTER SPEAKS WHATEVER YOU TYPE

Let your computer speaks whatever you type: 

 Step-1 Open notepad ( Start > All Programs > Accesories > Notepad)
 Step-2  Copy and paste these lines into Notepad:
   Dim message, sapi
     message=InputBox("helllo , Do you want your computer to speak?")
     Set sapi=CreateObject ("sapi.spvoice")
     sapi.Speak message


Step-3  save it with ' .vbs' extension.
Step-4 click on the icon it will show window like below 
 Step-5 type text and click on ok.

No comments: