EvilZone
Programming and Scripting => Scripting Languages => : Kulverstukas June 21, 2011, 09:44:33 PM
-
I was cleaning my desktop just now and noticed this script. Where did I get it - this I can't remember :D
This script works with MS Sam, you input some text and Sam says it :P
To close is just enter a space and press enter.
Dim msg, sapi
Do
msg=InputBox("Enter your text and press 'ENTER' to make MicroShafts SaM talk","MicroShaft Sam")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
loop until msg = " "
-
Do Loop? Pretty poor..I have this:
Dim userInput
userInput = InputBox("Type below anything to hear you PC speak it!")
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
Sapi.speak userInput
lol :P
-
Do Loop? Pretty poor..I have this:
Dim userInput
userInput = InputBox("Type below anything to hear you PC speak it!")
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
Sapi.speak userInput
lol :P
lol hey I didn't write this :D
-
Yea I know I just didn't like the Do Loop :P