Make your PC speak

by 08:33 1 comments

This is the very simple four lines VBScript to make computer speak.
1) Open a new notepad and type the following coding or copy and paste it in notepad.

CODE:

Dim Message, Speak
Message=InputBox("Enter text","Speak")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message


2) Save it as speak.vbs in the place you want.



 3) Go to the folder.



4) Double click the file speak and type anything that you want.




Now listen the audio. What you type in the text field is what you hear.

Unknown

Developer

Designer, developer and a Geek

1 comment: