Point to a desired command in that bottom-left pane.
Now, in the bottom-right pane is a line that says "Macro".
That is the command.
If you cannot see the right panes (due to QuickCUI), select
the black dot with the greater-than symbol.
FYI:
^C^C is a cancel prefix.
' (apostrophe prefix) is a transparent command
_ (underscore prefix) is use native language
Example:
^C^C_3dalign
To make this a keyboard command, there are 2 ways of doing this:
1) Edit the acad.PGP file and create a command alias. This file is
for native AutoCAD commands (only). It is not for commands
with one option pre-selected.
2) If it is not a native command, then create ACADDOC.lsp file and
place this file in one of the support paths declared in OPTIONS
(or create a path of your own). Edit this file using an ASCII text editor
(not WORD), and add lines inside defining your custom keystrokes.
For this example, I will use the above example even though it is
a native command and can be written into that PGP file.
(defun c:3da () (command "_3dalign" pause)(princ))
If the custom file has no "defun c:..." inside, then either add it or
use this format:
(defun c:ABC () (load "ABC")(princ)) ;<-- if file is in a support path
(defun c:ABC () (load (strcat HardPathPrefix "ABC"))(princ))
Command 3Point cannot be written in the PGP file due to one option
is pre-selected:
^C^C_ucs _3
Instead, do this:
(defun c:3P () (command "_UCS" "_3" pause)(princ))
???
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.