Author image

Microsoft Ergonomic MacroKeyboard 4000 - Autohotkey scripts

All the special hacky functionality you (or at least I) could possibly need from the best keyboard ever. I wouldn't want to type without it. Programmed in two Autohotkey scripts.

Any macro you need it provides, from startup, shutdown to making windows always on top, to launching specific programs and so much more.

If you want to use it just run macro_keyboard.exe and microsoft_ergonomic_keyboard_4000.exe , or add it to startup by placing them in shell:startup (run WinKey + R -> type shell:startup -> enter -> place them there), or via task scheduler (which also gives you administrator execution privileges, without a prompt).

If you'd like to see a complete keymapping let me know. Most are intuitive stuff though and I've provided keys even for mouse actions (eg left shift + right alt = move mouse pointer left by ~60 pixels). It's not hard to dig into the script file and figure it out on your own.

Tested to work on both Windows 8.1 Pro & Windows 10 Pro AMD64.


Github repository link.


Raw Input Key Detection Autohotkey forum post.
Alt + Tab functionality stackoverflow post