open notepad and paste the following code and save the file with .vbs extension, it will create a vbscript file.
it will prompt you for a text, input the text and press ok.”
Code:
dim msg, sapi
msg=inputbox("enter your text","talk it")
set sapi=createobject("sapi.spvoice")
sapi.speak msg
0 comments:
Post a Comment