A python script that shows a notification when Caps Lock or Num Lock keys are pressed. It is useful for people that don't have LEDs on their keyboards. Currently, it works for Windows only.
The code uses a modified version of the win10toast library provided as toast.py.
- Install win10toast library using
pip install win10toast
in Command Prompt/Powershell - Run notification.pyw
If you want the file to automatically run in the background after Windows login then it can be added as a startup application.
- Press Windows+R to open the “Run” dialog box.
- Type “shell:startup” and then hit Enter to open the “Startup” folder.
- Paste a shortcut of the notification.pyw file in the “Startup” folder.