Step 1 :Open a text file in notepad and paste the following:
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Step 2 :Save the file with a (*.vbs) extension, it will create a VBScript File.
Step 3 :Then after clicking the .vbs file, it will prompt you for a text, input the text
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Step 2 :Save the file with a (*.vbs) extension, it will create a VBScript File.
Step 3 :Then after clicking the .vbs file, it will prompt you for a text, input the text
and press OK.
Now your windows will talk as u type.
No comments:
Post a Comment