Following vb script pronounces what you write- I tried on my win7 box and I thought it's fun to get started with SAPI. Write the code on Notepad and save the file with extension .vbs.
Then clicking the vb script file will show you the following window - write what you want to listen on the text box and press ok, did you hear that ? :P
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim message, sapi | |
message=InputBox("What do you want me to say?","Speak to Me") | |
Set sapi=CreateObject("sapi.spvoice") | |
sapi.Speak message |
Then clicking the vb script file will show you the following window - write what you want to listen on the text box and press ok, did you hear that ? :P
I have some more idea based on it; do you ? Will share once I can create some more fun with it :)