Reputation: 35
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
Upvotes: 1
Views: 775
Reputation: 15488
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
Upvotes: 1