Software >
https://github.com/me2d13/luamacros
my fork: https://github.com/spiralofhope/luamacros (documentation)
http://hidmacros.eu/
A tool which listens to keys and, using the Lua programming language, lets you remap them to other features.
It is useful for Using a second USB keyboard for macros.
-
Abandoned – Announced 2023-03-19
-
You’ll definitely want to see key remapping.lua which is a complete tutorial.
–
-
2023-07-20 – (version unknown) on Windows 11
- It doesn’t seem to issue keystrokes properly. I did a fair amount of troubleshooting to no success. It can detect keystrokes internally but doesn’t issue them into a program when I
tabout of the LuaMacros window.
- It doesn’t seem to issue keystrokes properly. I did a fair amount of troubleshooting to no success. It can detect keystrokes internally but doesn’t issue them into a program when I
2019-03-11 – (version unknown) ∞
I don’t know how to learn its version. There are no releases in github, and there is no changelog on its website. The code references “lazarus 1.8.4”, and _VERSION is “5.2”.
-
I can’t
alt-tabto it. It’s in the taskbar, but not visible when I pull up the list of programs with that hotkey.- It is visible with
windows-tab.
- It is visible with
auto-running a script ∞
The -r parameter will run a script, so making a shortcut like this will automatically run the script when the shortcut is launched:
"C:\path\LuaMacros.exe" "C:\path\script.lua" -r
Edit: I just forked the project and updated the documentation.

I made an awesome example/tutorial the other day.
– Added icon
– Added -r switch
– Forked the project
– Forked the documentation
I can’t get it working on Windows 11; killing it.