Your Ad Here
Showing posts with label VB Script. Show all posts
Showing posts with label VB Script. Show all posts

Tuesday, December 1, 2009

Hear What You Have Typed

This is a very small VB Script Program that which talks what you have typed.
Open notepad and type:

Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

Save the file with a *.vbs extension , it will create a VBScript File.
Now open the saved file , input the text and press ok.

You will hear what you have typed. This works in Windows XP and may be in vista also.


Bookmark and Share