Ted
As suggested by others it is best to not mess with the acad.mn? files,
simply create your own xx.mns file, then use MENULOAD to load it up. So
for the most basic menu for setting the ACCELERATORS use the menu below as
an example.
Copy paste the text into a text editor, save as what ever name you choose
with an extension of .mns , save it in a folder that is in the Support File
Search Path listing under options > Files in AutoCAD. Edit the top and
bottom lines with your path and name of mns file.
Then use the MENULOAD command once you are in AutoCAD, browse to the name
you gave it, select load, look at the command line to see if it was
successfully loaded. Shazam.
The example I am sending is what I use for Accelerators to set the Function
Keys for Osnaps. For what Tobi requested replace the F1 line with
[INTERNAL+"F1"]^P
See Help for further explanation. If you are a Subscription member then see
the documentation available on line for developers.
Copy everything after this line into your personal.mns menu file (except for
the last three lines).
//
// AutoCAD menu file - I:\ACAD\testing.mns
//
***MENUGROUP=TESTING
***ACCELERATORS
ID_OsnapEndp [INTERNAL+"F1"]
ID_OsnapPerp [INTERNAL+"F2"]
ID_OsnapNear [INTERNAL+"F3"]
ID_OsnapMidp [INTERNAL+"F4"]
ID_OsnapQuad [INTERNAL+"F5"]
ID_OsnapCent [INTERNAL+"F6"]
ID_OsnapInte [INTERNAL+"F7"]
ID_OsnapNode [INTERNAL+"F11"]
ID_OsnapInse [INTERNAL+"F12"]
ID_Copyclip [CONTROL+INTERNAL+"LEFT"]
ID_Pasteclip [CONTROL+INTERNAL+"RIGHT"]
[CONTROL+INTERNAL+"UP"](SETQ SPAC (GETVAR "CVPORT"))(IF (= SPAC 1) (COMMAND
"MSPACE") (COMMAND "PSPACE"))
//
// End of AutoCAD menu file - I:\ACAD\TESTING.mns
//
Hope that helps,
Sincerely,
Kent Elrod