make your pc talk

Author: saleem aslam // Category:
make your pc talk
hellooo!

Open a notepad ,copy this below code and paste it in that notepad..


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



Save the file with as (talk.vbs) extension, it will create a VBScript File.
It will prompt you for a text when u open the file, input the text and press ok."

u will hear what u typed

0 Responses to "make your pc talk"

Post a Comment