WinKeyDisabler
Utility to disable the Windows key when fullscreen is detected
Install / Use
/learn @d0gkiller87/WinKeyDisablerREADME
A utility to disable the Windows key when fullscreen is detected, while supporting combination keys (e.g., Win+Space).
✨Tray Icon Context Menu
<img src="/screenshots/main_v0.1.jpg">🔧Installation
[!NOTE] Download the latest builds from GitHub Releases
How It Works
- The program uses
SetWindowsHookExto hook low-level keyboard inputs globally, without injecting DLLs into every process. - It calls
SHQueryUserNotificationStateevery second (interval is currently hardcoded) to check if the user is in fullscreen. - When a Windows key down event is detected, the program blocks the input and enters the
winKeyPressedstate. - If any key is pressed while in the
winKeyPressedstate, the program replays the Windows key down event usingSendInputto prevent key combinations from breaking. (Win+D(i.e. minimize all Windows) is disabled for now for obvious reasons) - When the Windows key up event is received, the
winKeyPressedstate is reset.
Will This Get Me Banned?
If a legitimate key-remapping AHK (AutoHotkey) script doesn't get you banned, this likely won't either.
BUT! Nothing is guaranteed! Use at your own risk!
Credits
- Flaticon - Windows for the awesome icon.
- https://stackoverflow.com/a/58755620/9182265 for providing a realiable way to detect full screen states.
- Collabration from ChatGPT & Claude for heavy lifting 90% of the code.
License
This project is licensed under the MIT License. Review LICENSE for furthur details.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
