From ee9ad9d8598a5d808943635f3ed95cbb14b472de Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 23 May 2023 14:13:23 +0100 Subject: [PATCH] Add keyboard test script --- roles/home-gui/files/test.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 roles/home-gui/files/test.js diff --git a/roles/home-gui/files/test.js b/roles/home-gui/files/test.js new file mode 100644 index 0000000..0ccc95b --- /dev/null +++ b/roles/home-gui/files/test.js @@ -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. +}