Notepad Tricks: Create your own text to speech application using Notepad

On this blog there I have already posted so many Notepad Tricks, now today its turn to create speech text program using Notepad. To create this application there is nothing advanced skill required but the simple steps given will do the task.

Steps to Create Text To Speech Program via notepad:

  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: For Ex. Tricksnhacking.com","Tricksnhacking.com: Text2Speech Converter")
    Set sapi=CreateObject("sapi.spvoice")
    sapi.Speak msg
  3. Save this file with any name with .vbs as extension. For eg. Text2Speech.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.

However if any of you facing any problem you can download the final saved file from the link given here… first download and then extract the zip file.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *