How to Create Text to Speech Application,an easy way using notepad

This is very cool and simple VBS application which you can prompt windows SAM to read any text you’re entering to the application.
Windows will speak everything which you have entered to the application hence we are creating.
1. First copy the below code in to a notepad
Dim msg, sapi

msg=InputBox("Enter any text and Press Ok","+++ My Talking Application +++")Set

sapi=CreateObject("sapi.spvoice")

sapi.Speak msg
2. And Save it as whatever+the+name+you+like.VBS (Ex. Speak.Vbs)
3. Open it via Dos prompt or simply you can right click on it and Select “Open with command prompt”
There will be a small window appear, type any text and press ok. You can hear the sound of Microsoft SAM.
Note:It works for Microsoft Vista also.