Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Windows: Visual Warning on Pressing Lock Keys

📅 2011-Jun-12 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ autohotkey, lock keys, windows ⬩ 📚 Archive

Problem

The Caps Lock, Num Lock and Scroll Lock on the keyboard are known as the Lock Keys. They are useless most of the time, but get turned on inadvertently leading to an irritating user experience. If a feature called Toggle Keys is turned on in Windows, it will beep when one of the Lock Keys are pressed. What if you want a visual indication of the Lock Keys being pressed?

Solution

I have written a small AutoHotKey script that flashes the active window when any of the Lock Keys is pressed. Get the script here.

Tried with: AutoHotKey 1.0.90.00 and Windows 7


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧