Translate

Tuesday, 19 November 2013

Make Your Computer Speak

Did you ever wish to make your computer speak whatever you wanted.
Well its absolutely possible just using a Notepad(or any Text Editor) and a simple Script.
Here are the steps:

Step 1: Open Notepad(or any Text Editor)
Step 2: Copy Paste the given code


                       
                                           Dim Message, Speak 
                                           Message=InputBox("Enter text","Speak")                                            
                                           Set Speak=CreateObject("sapi.spvoice")
                                           Speak.Speak Message



Step 3: Go to File MenuSave As, select All Types in Save as Type option, and save the file as Speak.vbs.

Step 4:  Now run the saved file, a window will Pop Up. Enter the message and click OK and see the Magic!!!







No comments:

Post a Comment