Open a notepad and write or copy and paste:
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Save the file with a speak.vbs extension, it will create a VBScript File.
Now open the saved file, input the text and press ok."
u will hear what u typed
this works in xp,may be in vista also.
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Save the file with a speak.vbs extension, it will create a VBScript File.
Now open the saved file, input the text and press ok."
u will hear what u typed
this works in xp,may be in vista also.
0 comments:
Post a Comment