Subscribe:
#

Labels

Sunday, March 20, 2011

A program which talks

Talking script for Windows

 

Do you want to make a program which talks.

This program will speak which you enter.

Ok so now lets start

  • at first copy  the code in a text file(Notepad,Word pad)

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

  • Then Save the file as .vob (example: speaking.vob)

  • Run the saved .vob  file

 

image

After Running thewindow will look like this

 

  • At last enter your text and click Ok

Run the program and have fun

0 comments:

Post a Comment