The recent article about the keystroke tool for video tutorials spurred my curiosity about the AutoHotkey scripting language. Looking further, it quickly became clear that there might be a way to remap keystrokes in Blender. I performed a couple of quick tests…
My keystroke remaps worked flawlessly!
Now, I have absolutely no use for remapping keystrokes in Blender. But, there are clearly those in the community (or standing in the wings of the community) that desire such a thing. So, I thought that I would share my findings.
Fortunately, the open-source AutoHotkey application (Windows only) makes this about as easy as it can get. You’ll have to read the documentation and study the examples but, here’s the simple script that I created to remap the R-key to the S-key and the S-key to the R-key. The remapping is specific to the Blender application alone (that’s what the first line of code does).
#IfWinActive ahk_class GHOST_WindowClass
r::s
s::r
This type of keystroke could easily get out of control if you get too crazy with it but, I think it will help ease the transition of some new users if they can remap a few keystrokes that they’re more used to using.
I believe it’s also possible to remap mouse buttons as well but, I haven’t tested that capability.
Good Luck and I hope this helps some of you.
Links:
