Sunday, 6 November 2011

Convert Text Into Audio Using 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.

1. Open Notepad file on your Windows PC.

2. Copy and paste the below mentioned code :

Dim msg, sapi
msg=InputBox("Enter your text for conversion–www.techtodaynb.blogspot.com","Tech-today Text-To-Audio Converter")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

3. 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. 

No comments:

Post a Comment