Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for lockkitt.js

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

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

page last uploaded: 2017-04-06, 13:33