/******************************************************************************
 *  Author: Chris West
 * Purpose: Simulate pressing the lock keys multiple times.
 *    Info: http://msdn.microsoft.com/en-us/library/8c6yea83(VS.85).aspx
 *****************************************************************************/
WScript.echo("After you press the OK button, watch the lock keys (Caps, Num, and Scroll Lock).");
var WshShell = WScript.CreateObject("WScript.Shell");
arr = ["{NUMLOCK}", "{CAPSLOCK}","{SCROLLLOCK}"];
for(i = 0; i < 60; i++)
{
	WshShell.SendKeys(arr[i%3]);
	WScript.Sleep(50);
}
WScript.echo("That is it for now.");
