A lot of polished produce lack this feature. You end up turning away a 90% solution for a 70% solution because the former isn't programmable. Emacs, for example, can easily become a maintenance nightmare.
OTOH, almost all major OSes also have tools that let you automate stuff at the input layer, so you can automate any GUI tool. The difficulty comes with race conditions on inputs.
Looks useful. I'd really like Siri integration. Actually, I'd probably want to say "Hammerspoon", then a menu would appear and I would say a keyword or a number.