Sunday 13 November 2016

Convert Text Into Audio Using Notepad



Convert Text Into Audio Using 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–KSR Networks","Knowhacking Text-To-Audio Converter")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speakmsg
  1. Save this file with any name with .vbsas extension. For eg. Text-To-Audio.vbs


That’s 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.

No comments:

Post a Comment