right click mouse is "enter"

 Hi!
Anyone, could you advice me svp:
How do i adjust my mouse. I want to right click within a command and sub menu to be "enter"?

Comments

  • Linda,

    Please try the following:

    Under "Tools" select "Customize".

    Select the "Mouse" Tab

    On the left hand panel under mouse buttons, expand "Click"

    Just above where it says "Snap Menu" it will have "----------". This is where you want to insert your new command assignment.

    On the right hand panel under available tools expand the "Context" submenu and you should see the "Enter" command listed.

    Drag and drop the "Enter" command from the right hand panel to the left hand panel to replace "-------------" with your new command.

    Press OK.

    See attached screen shot.

    Hope this works,

    Kevin

    imageScreenshot (1).png
  • I, too, would like to have the right mouse button click equal an enter key.  But, in my case, it is more likely to be useful when I have no command active.  So, rather than the menu that pops up, I would simply want an ENTER, so that I can repeat the last command.  I realize that the right-click menu has "repeat" as one of the choices, but I want the repeat to occur without having to click on repeat.

    Is this possible?

    -Joe
  • Have you tried the options for the SHORTCUTMENU variable.  Mine is set to 2.
  • Joe, is this what you are looking for?

    $M=$(if,$(eq,$(getvar,cmdnames),),"",$P0=BRICSCAD.SNAP $P0=*);

    (pops up the snap menu if a command is active, otherwise sends return)

    you could redefine the MM_SNAP tool or create a new one that you bind to the right mouse button, I guess you know how to do that.
  •  To use context menus together with the Quad in V15 an option has been added to the SHORTCUTMENU system variable: enable shortcutmenus when the right mouse button is hold down longer. If you want a right mouse click to repeat the last command also select 'Enable Edit mode shortcut menus'. The value of SHORTCUTMENU is 18 then.
    Therefore, if SHORTCUTMENU=18 a 'short' right click brings up the Quad, when the right mouse button is hold down longer the last command is repeated when nothing is selected and the Edit shortcutmenu displays if a selection set exists.
    In V16 the Quad cursor menu has been extended with an extra command group when no entity is  under de cursor or selected.  This command group contains all 6 (depending on the value of QuadWidth) most recently used commands.
  • Thank you all for the replies.  Setting the SHORTCUTMENU varaible to 2 does what I wanted.

    However, I am also curious about the following

    $M=$(if,$(eq,$(getvar,cmdnames),),"",$P0=BRICSCAD.SNAP $P0=*); 
    (pops up the snap menu if a command is active, otherwise sends return)

    I don't know where I would use the above expression.  The help file for v14 BricsCAD has very little information about the SHORTCUTMENU variable or mouse-click customization.

    -Joe
  • @Joe:

    I think you'll find the same for documentation in Autocad.  Trying to figure out DIESEL syntax back in the days when I was using LT was daunting.

    The code would generally go in the COMMAND line in a  toolbar button definition.  DIESEL is also used to toggle toolbar button icons as you'll see if you look at buttons on the esnap toolbar.
  • @Joe
    I am sorry, I just forgot how non-standard my interface settings are... unless you are very unhappy with the default settings, there is absolutely no need to tamper with DIESEL-expressions. I agree with martin that they are quite horrible cruft, and I never quite understood why Autodesk introduced them instead of using LISP for that purpose (I think back then there was a problem invoking LISP expressions while a LISP routine was running).
    But to answer your question (which Martin already did): you could create a tool (in the right column of the customize dialog), put such an expression in its command field, insert a new button in the left column (mouse-tab / mouse button settings) and select the new tool.
This discussion has been closed.