Skip to content

Instantly share code, notes, and snippets.

@drewlesueur
Created July 1, 2011 14:05
Show Gist options
  • Save drewlesueur/1058607 to your computer and use it in GitHub Desktop.
Save drewlesueur/1058607 to your computer and use it in GitHub Desktop.
windows script host
WScript.Echo("Hello world");
// var send = WScript.CreateObject("System.Windows.Forms.SendKeys");
// send.Send("{PRTSC}");
voice = WScript.CreateObject("SAPI.SpVoice");
voice.Speak("Hello world");
http://msdn.microsoft.com/en-us/library/d5fk67ky(v=vs.85).aspx
//http://www.sans.org/reading_room/whitepapers/hackers/windows-script-host-hack-windows_33583
// http://msdn.microsoft.com/en-us/library/8c6yea83(v=VS.85).aspx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment