Yagle

THE BEST SRILANKAN ONLINE COMMUNITY


    Make Computer Talk

    Share
    avatar
    Admin
    Admin
    Admin

    Posts : 19
    Join date : 2009-02-16

    Make Computer Talk

    Post  Admin on Tue Feb 17, 2009 7:50 pm

    This is a visual basic script
    when you write it and press ok
    your computer will tell what you typed
    Type in a Notepad



    Code:

    Dim userInput


    userInput = InputBox("Write a message for me to say")


    Set Sapi = Wscript.CreateObject("SAPI.SpVoice")

    Sapi.speak userInput



    //Be Sure To Save As .VBS
    lol!

      Current date/time is Thu Nov 23, 2017 10:20 am