We believe the invention of Notepad is one of the greatest thing in Windows OS, If I am not wrong we mentioned in previous post that Notepad is available in every Windows OS starting from its first version.
We can do lot of things to play with Notepad. Whereas I recommends to start your computer programming or coding career from Notepad itself.
Believe me or not Notepad is a powerful tool. Today we will learn how to unleash the power of Notepad as a Text-to-Audio Converter. Previously we had teach how to use Notepad as a Diary.
We will be creating VBScript file. You can learn more about it on Wikipedia. Creating a VBScript file in Notepad is very simple.
We can do lot of things to play with Notepad. Whereas I recommends to start your computer programming or coding career from Notepad itself.
Believe me or not Notepad is a powerful tool. Today we will learn how to unleash the power of Notepad as a Text-to-Audio Converter. Previously we had teach how to use Notepad as a Diary.
Script
Dim msg, sapi
msg=InputBox("Enter Your Text for Conversion. Hit OK.","Fusiq Text-To-Audio Converter 1.0")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
We will be creating VBScript file. You can learn more about it on Wikipedia. Creating a VBScript file in Notepad is very simple.
- Create a New Text Document.
- Copy the above script and paste it.
- Save it with extension .vbs
No comments :
Post a Comment