1
votes

I've been looking, but I can't seem to find how to change the mouse behavior to allow for pressing the right-mouse button down to open the context menu. I would like to be able to press down the right-mouse button to have the menu open, then drag the cursor to a selection and release the right-mouse button, opening the selection. I'm looking to have this behavior only while Firefox is in focus.

Something like:

If Firefox is in focus

*Pressing down on the right-mouse button causes a right mouse up event
*Releasing the right-mouse button causes a right mouse click where the cursor is

Is that possible...?

Thank you

1
Yes it would be possible, did you try anything?user1944441
@BrianPardee Stack Overflow is not a site where you present a problem and we write the code for you.user1944441
What is it for please?Brian
SO is for fixing non-working achievements or approaches. Since you have neither a solution nor an approach, there's nothing to fix or to suggest improvents for. I always find it cool when beginners try to code something, but no one is a born master. If you don't know anything about programming, you'll have to research, learn and practice before trying to solve something. People don't go to the food bank if they merely don't know how to cook, do they? In this food bank, you'll have to have done your homework if you expect anyone to help you.MCL
@MCL +1, what my response would be, if i could articulate it properly.user1944441

1 Answers

1
votes

The question is pretty old, but the answer is realy simple:

#IfWinActive, ahk_class MozillaWindowClass
  *$RButton::
    SendInput, {RButton Up}
  Return
  RButton Up::
    SendInput, {LButton}
  Return