Hello friends, I have written a mini book on Cyber Security awareness for you, named "Hacking into Hackers' Head". This book uses common terms to explain things, and I'm sure you will get benefitted from it in your day to day life. It's available on Kindle and Google Play. Grab your copy now.

Monday, November 21, 2011

Make a "Text to speech converter"


Hello friends, today I am going to make a computer program for you through notepad which will speak for you, whatever you type in it. In short, its a text to speech converter made by you through notepad and without knowing any programming skill.

Just follow these simple steps:

1. Open notepad.
2. Copy and paste following code and save it as "speak.vbs":

Dim userinputuserinput

userinputuserinput = inputbox("Type below to hear your computer speak")
set sapi = wscript.createobject("SAPI.Spvoice")
Sapi.speak userinputuserinput

3. Double click on speak.vbs. A dialog box will be opened like:



4. Type anything in English. Your computer will speak for you.

Thats it. You are done.
Enjoy hacking
Scroll to Top