đź“„ JScript (WSH)
Disable Sticky Keys Shortcut Prompt (JScript)
Stops the Sticky Keys dialog from popping up when Shift is pressed 5 times. Applies the tweak via WScript.Shell.RegWrite (JScript syntax).
SetDisableStickyKeysPrompt.js
// ============================================================
// SetDisableStickyKeysPrompt.js
//
// Disable Sticky Keys Shortcut Prompt.
// Stops the Sticky Keys dialog from popping up when Shift is pressed 5 times.
//
// Usage: cscript SetDisableStickyKeysPrompt.js
// ============================================================
var objShell = WScript.CreateObject("WScript.Shell");
try {
objShell.RegWrite("HKCU\\Control Panel\\Accessibility\\StickyKeys\\Flags", "506", "REG_SZ");
WScript.Echo("Disable Sticky Keys Shortcut Prompt applied.");
} catch (e) {
WScript.Echo("Failed to apply tweak: " + e.description);
}