This trick will work on all Microsoft Windows operating system (i’m using windows vista). This trick is really simple all you have to do is follow 3 simple steps below:
1. Open Notepad
Open notepad, copy the code below and paste it in notepad.
Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

2. Now save the file with the name speak.vbs at your desktop.
On notepad, click File on the menu bar, then click Save (save as dialog box appears). On the File name field, type speak.vbs, and on Save as type, choose All Files (*), then click Save.

3. Execute / Run speak.vbs
On your desktop, look for the file named speak.vbs. If you found it, double click it and type whatever you want your computer to speak for you, and click Ok. Turn on your speakers and voila. There it is, you heard it.
No comments:
Post a Comment