How do I add keystrokes to a Macro?

How do I add keystrokes to a Macro? I don’t see them listed in the commands.

Hi,

In the Key Commands window click to Show Macros.

Create a new Macro by clicking to Macros > New or open already existing Macro and in the Macro list itself select the command, which should be above the one you are just going to insert. Or select the Macro name, if you want to put the command at the end of the chain.

In the upper part of the Key Commands window (the Commands area) find the Function you want to add.

Then in the Macros area click to the Add button.

Done.

I’m not trying to add a command, I’m trying to add a keystroke such as “spacebar”, “esc” or “return”.

For things like that I use Metagrid.
https://www.metasystem.io/metagrid/