the command sequence records the actual menu keys that you would hit followed by a carat "^" shift-6 symbol.
Start with either the : or ;
So something like:
q^;^f9^
gets you to the cleanup menu.
Not sure what you want after that, but record each menu key F# or S# and separate by a ^.
the dollar sign will be an enter key.
My alt Q does a one line trim, and when I have the mouse near the line to trim to, the $^$ at the end will pick the line and side to trim to:
Q^;^F9^F4^$^$^
\\ Q- Trim to one line
a line starting with \\ is ignored for comments.
There are also codes you can use to quickly get to some commands
Extended character codes for use in keyboard macros, icon toolbars, and command line aliases.
https://www.datacad.com/ddn/extended_character_codes.htmBuilt-in function numbers for use in icon toolbars.
https://www.datacad.com/ddn/built-in_fun ... umbers.htmPost what you've tried, explain a little more of what steps you are trying to do, and we can help you with the process.