Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for locksnak.js

(view source code of locksnak.js as plain text)

  1. var WshShell = WScript.CreateObject( "WScript.Shell" );
  2. counter = 0;
  3. do
  4. {
  5. 	WshShell.SendKeys( "{NUMLOCK}" );
  6. 	WScript.Sleep( 500 );
  7. 	WshShell.SendKeys( "{CAPSLOCK}" );
  8. 	WScript.Sleep( 500 );
  9. 	WshShell.SendKeys( "{SCROLLLOCK}" );
  10. 	WScript.Sleep( 500 );
  11. 	counter = counter + 1;
  12. }
  13. while ( counter < 10 );
  14.  

page last uploaded: 2017-07-06, 12:37