Use keyboard inputs in macros?

Is it possible to add keyboard inputs to macros?

The macros I found only combine a number of nyxt commands to run consecutively. I would imagine a macro that would find the password suitable for a specific web site and paste it into the focussed field.

So something like this:

  • copy-password
  • push enter to copy the suggested password
  • paste the password into the currently focussed field

There’s no exported API for it yet. However, with the addition of Headless mode (Headless mode (#1354) rebase by aartaka · Pull Request #2054 · atlas-engineer/nyxt · GitHub), it’s possible to intercept prompts and remember the input/result they had. Should definitely be possible to build keyboard macro machinery on top of that. It’s just that no one has yet done it :slight_smile: