Stap 2: spreken!
Schakel uw luidsprekers en typ dit in Kladblok.
-------------------------------------------------------------------------
Instellen van Sapi = Wscript.CreateObject ("SAPI. SpVoice")
SAPI.speak 'Hello'.
-------------------------------------------------------------------------
Dat sprak MS Anna. Probeer dit:
-------------------------------------------------------------------------
Instellen van Sapi = Wscript.CreateObject ("SAPI. SpVoice")
SAPI.speak "Look!"
doen
WScript.Sleep 200
WshShell.SendKeys "{NUMLOCK}"
WScript.Sleep 100
WshShell.SendKeys "{CAPSLOCK}"
WScript.Sleep 100
WshShell.SendKeys "{sCROLLLOCK}"
WScript.Sleep 200
WshShell.SendKeys "{sCROLLLOCK}"
WScript.Sleep 100
WshShell.SendKeys "{CAPSLOCK}"
WScript.Sleep 100
WshShell.SendKeys "{NUMLOCK}"
lus
-----------------------------------------------------------------
Je computer zal zeggen "Kijk!" en dan flash de LOCK-knoppen.
Druk op Ctrl + C om het te stoppen.