Add keyboard test script
This commit is contained in:
parent
bed1883827
commit
ee9ad9d859
1 changed files with 7 additions and 0 deletions
7
roles/home-gui/files/test.js
Normal file
7
roles/home-gui/files/test.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
// Test the keyboard.
|
||||||
|
var WshShell = WScript.CreateObject("WScript.Shell");
|
||||||
|
while (1) {
|
||||||
|
WshShell.SendKeys('{SCROLLLOCK}');
|
||||||
|
WshShell.SendKeys('{SCROLLLOCK}');
|
||||||
|
WScript.Sleep(1000 * 60 * 4); // 1000ths of a second.
|
||||||
|
}
|
Loading…
Reference in a new issue