The following is an extract of the BUTTONS1 section of the acad.mnu with
button 3 edited for "return" and buttons 4 to 16 added with sample
commands:
//
// Default AutoCAD NAMESPACE declaration:
//
***MENUGROUP=ACAD
//
// Begin AutoCAD Digitizer Button Menus
//
***BUTTONS1
// Simple + button
// if a grip is hot bring up the Grips Cursor Menu (POP 500), else send
a carriage return
// If the SHORTCUTMENU sysvar is not 0 the first item (for button 1) is
NOT USED.
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS
$P0=*);
[Button 3];
[Button 4]L
[Button 5]L _ENDP
[Button 6]E
[Button 7]L _MIDP
[Button 8]_ZOOM _W
[Button 9]_ZOOM _P
[Button 10]TEXT
[Button 11]M
[Button 12]COPY
[Button 13]_CEN
[Button 14]BR
[Button 15]CHAMFER
[Button 16]DI
--
Ian Fenton
Product Support, EMEA
WW Support & Services, Autodesk
Discussion Q&A: http://www.autodesk.com/discussion