Senin, 06 Juni 2011

Make the Computer Talk

Want to make your computer can talk ??


Here it is how:


1) Open Notepad.


2) Copy code bellow In Notepad




Dim message, cow
message = InputBox ( "What do you want me to say?", "Talk to Me")
Set cow = CreateObject ( "sapi.spvoice")
sapi.Speak message




3) Save any name ending in. .vbs




4) Remember to save the file as .vbs




5) Double click the file.




6) Any written now textbox and press ok






7) Your computer will speak what you have written in text box.

Tidak ada komentar:

Posting Komentar