Search This Blog

Saturday, 4 June 2011

CONVERT TEXT INTO AUDIO BY USING NOTEPAD

Hai guys we can convert a simple text into audio with the help of notepad. Just paste the following code in notepad and save it with extension VBS and save it you will get an icon at the same location open it and type ur text to listen


CODE:



Dim message, sapi
message=InputBox("YOU TYPE I SPEAK","rahul68.blogspot")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

4 comments:

  1. hey rahul ur speaking is not working
    in which software do that file with VBS has to open

    ReplyDelete
  2. Hai Vamsi it is working man i just tested it and posted here just paste the code in notepad and save the file with vbs extension and next to file there is an option save type as there select the option all files then it will works

    ReplyDelete
  3. hey it's really working now.
    try to make this to read more text.

    ReplyDelete