Trollking6

GHOST.vbs

Jul 16th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. set wshshell = wscript.CreateObject("wscript.shell")
  2. wshshell.run "Notepad"
  3. wscript.sleep 2000
  4. wshshell.AppActivate "Notepad"
  5. WshShell.SendKeys "G"
  6. WScript.Sleep 500
  7. WshShell.SendKeys "H"
  8. WScript.Sleep 500
  9. WshShell.SendKeys "O"
  10. WScript.Sleep 500
  11. WshShell.SendKeys "S"
  12. WScript.Sleep 500
  13. WshShell.SendKeys "T"
  14. WScript.Sleep 500
  15. Dim speaks, speech
  16. speaks="I am a Spooky Ghost. Insert scary ghost noises here."
  17. Set speech=CreateObject("sapi.spvoice")
  18. speech.Speak speaks
Advertisement
Add Comment
Please, Sign In to add comment