reassign mouse buttons

Status
Not open for further replies.

Alex Catchpaugh

Usenet Archive
Joined
Jan 16, 2002
Messages
1
Reaction score
0
Hello

Does anyone know how to assign the osnap "popup" menu to a key sequence (ALT + J). Similar to the key sequence SHIFT+leftbutton.

Cheers
Alex
 
Yes. You can assign a (c:lispfunction) or a (lispfunction) to a keyboard shortcut or "accelerator" key. In your LISP program you can have the following:
(menucmd "p0=pop0)
(menucmd "p0=*")

Here is AutoCAD's explanation of the use of this code:

The following code loads the ***POP0 menu into the P0 (cursor) menu area and displays it. (menucmd "P0=POP0") Loads the ***POP0 menu into the P0 menu area

(menucmd "P0=*") Displays it
If you are sure the correct menu is loaded into a particular menu area, you do not need to load it specifically each time you want to display it.
 
Status
Not open for further replies.

Latest threads

Back
Top