Make Your Xp Talk

Open a text file in notepad and write:

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

Save the file with a (*.vbs) extension, it will create a VBScript File.
It will prompt you for a text, input the text and press ok.

If u r havin problem replace " with "

Posted in Labels: , , |

2 comments:

  1. Khairul Nizam bin Morsidy Says:

    your blog is very useful...
    keep it up

    khairul
    malaysia

  2. Khairul Nizam bin Morsidy Says:

    looking from you many more tricks

    khairul