Last time i shared a notepad trick using which you can format your hard disk. If you haven’t tried that do it now, here is the link :
Format Your Hard Disk Using Just Notepad !!
In this post i am going to share a similar notepad trick using which you can convert any text to audio with just a click. And it doesn’t even require you to pay for software or install any 3rd party software on your PC.
How To Do It ?
- Open Notepad file on your Windows PC.
- Copy and paste the below mentioned code :
Dim msg, sapi
msg=InputBox("Enter your text for conversion–www.techvorm.com","TechVorm Text-To-Audio Converter")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
- Save this file with any name with .vbs as extension. For eg. Text-To-Audio.vbs
Thats it ! Your Text to Audio converter is ready to be used. Now open the saved file and key in the text you want to convert and click OK. If you find any difficulties in using this code, let me know via comments section.



Trackbacks
moments ago
Benji
3 months ago
Hey!
Look like a cool trick!
I just tried it but it didn’t work.
Instead, a pop up appeared and said this:
Script: (drives and the file)
Line: 2
Char: 14
Error: Invalid character
Code: 800A0408
Source: Microsoft VBSScript compilation error
I just copied and pasted…and did nothing. So I don’t think it was me….was it?
(My Email if you need it…I’m new to this site lol: Nintendo_Master_Returns@live.com)
Paritosh
3 months ago
I tried this code and it worked for me. Make sure you copy this code directly to notepad. And do try it again.
Chris Baker
2 weeks ago
It worked for me
Rohit Sane
7 months ago
Cool one! Just defining the source to an already present file.
I like it. I never knew that such a file existed.
.-= Rohit Sane´s last blog ..Cool and Funky T-Shirts with Quotes for Girls and Boys =-.
Navin Israni
7 months ago
This one is good..waise what language u have used..and hwta type of file extension is .vbs..i have heard it before some times..mostly in viruses kind of..i know this is not virus..just mentioning the mention of .vbs..:D
Paritosh
7 months ago
Its a visual basic file and it uses basic text to speech converter of windows.