Code:
; Script to block a few different keys.
; The backspace key also displays a message.
; The Alt key (both)
Alt::return
; The Win keys (right and left)
RWin::return
LWin::return
; The Backspace key
Backspace::MsgBox Stop making some many typos! Use the delete key if needed.
This script will change 3 keys:
- Block Alt
- Block Win
- Backspace will show an annoying message.
All lines that begin with a semi-colon above are comments and can be removed.
More info about the "Keys" can be found on these 2 pages:
https://www.autohotkey.com/docs/Hotkeys.htm
https://www.autohotkey.com/docs/KeyList.htm
If you want to block Alt+Ctrl+A, you could use this code:
Use Notepad to create the script and save it with a .AHK extension like BlockKeys.ahk. Double click on the file to run it. AutoHotKey must be installed.
If it works, click on the little trophy beside of Grobes message above to show the thread has been answered.