Follow the below steps.
1. Open Notepad
Dim message,sapi
message = InputBox("Enter your text","Message Box")
set sapi = Createobject("sapi.spvoice")
sapi.speak msg
3.Save it with a file extension as '.vbs' such as ABC.vbs
4. Now open the file, type the text and click ok. you can hear what you typed.
No comments:
Post a Comment