Make your Computer Talk with VBScript
Have you ever wondered how can you make your computer speak whatever you input to it like in the movies? Would it not be fun? If only it was possible! Rejoice, because now it is possible. Well, if you wish to know how to do this, then you have come to the right place. With this trick, you can create a script in Windows which will make your computer speak whatever you input to it.
To create one such talk script, follow the steps given below:-
Steps:-
- Open Notepad.
- Copy and paste the exact code given below.
- Click on File Menu, Save As, select All Types in Save as Type option, and save the file as Speak.vbs or "*.vbs".
- Double click on the saved file, a window will open. Enter some text in the enter text column and click OK.
Now your Computer will speak / talk what you typed in Step 4. Try it yourself.
Windows Compatibility: This VBS file can be executed on all versions of Windows including Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10.
Dim Message, Speak
Message=InputBox("Enter text","Speak")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message
Message=InputBox("Enter text","Speak")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message
Comments
Post a Comment