r/MechanicalKeyboards • u/darkmdbeener Everex (Space Invader Black) | Leopold FC750R (MX Blue) • Nov 20 '14
AHK Script adding a Ten key to a TKL
http://pastebin.com/nyfgUApN
19
Upvotes
r/MechanicalKeyboards • u/darkmdbeener Everex (Space Invader Black) | Leopold FC750R (MX Blue) • Nov 20 '14
4
u/darkmdbeener Everex (Space Invader Black) | Leopold FC750R (MX Blue) Nov 20 '14 edited Nov 21 '14
I am so not used to not having a 10key since I take numbers down for work. I decided to try out this autohotkey thingy. After creating a working 10key from the cluster of keys above the arrows. I found it would not toggle. So I got some help from an admin at the irc channel, tidbit, over at /r/AutoHotkey and he fine tuned it.
So to give back to this fun community here is my 10key for TKL script.
HOW TO USE the AppsKey is the Option key
Pressing the option key toggles the number pad on.
Esc and alt+tab toggles it off.
EDIT:
It says it in the source but just to clarify. My FC750R would recognize RCtrl as unknown so I had to use the code. If your RCtrl is recognized correctly you should replace SC11D with RCtrl.
EDIT:
New revision using scroll lock as the indicator that number pad is on. Thanks to /u/Frogboffin
Numberpad on TKL w/ Scroll lock indicator
3
u/ripster55 Nov 20 '14
Nice!
Now Wikified:
https://www.reddit.com/r/MechanicalKeyboards/wiki/autohotkey#wiki_add_a_numpad_to_a_tenkeyless
2
u/pacifica333 Nov 20 '14
This is awesome. Basically lets any TKL board work like a QF TK.
2
u/Frogboffin Nov 21 '14
This is pretty sweet. Might not need to buy a numpad after all.
I've never used AHK before, but I edited a few things and this script seems to be working good for me. I use the led in the Scroll Lock to let me know when the numpad is active. I also just toggle the suspend hotkeys with Ctrl+Space instead of using any variables in the code.
2
u/Vorsplummi Ducky Shine 3 TKL Nov 21 '14
Thanks a lot for this! I've being meaning to do this for a while but I'm hopeless with this kind of stuff. It was plenty enough to make media key shortcuts with AHK.