| View previous topic :: View next topic |
| Author |
Message |
urlwolf
Joined: 16 Mar 2006 Posts: 112
|
Posted: Sun Aug 30, 2009 2:18 am Post subject: simple? map right-click to middle click and viceversa |
|
|
I need to map right-click to middle click and viceversa. I thought it was simple, but my attempts have failed. I use middle click a lot in FF, RButton not so much. But doing the obvious:
| Code: | Rbutton::MouseClick, Middle, , , 1
|
does not work as it returns back to 'normal mode' (no small arrow icon that means your mouse will control the scrolling now) as soon as I remove my finger from rightclick.
Any idea how to solve this?
Thanks!
[Moved from Scripts & Functions forum. ~jaco0646] |
|
| Back to top |
|
 |
Astrognaw
Joined: 27 Mar 2009 Posts: 21
|
Posted: Sun Aug 30, 2009 2:46 am Post subject: |
|
|
this work?
| Code: | MButton::
Send, {RButton}
return
RButton::
Send, {MButton}
return |
|
|
| Back to top |
|
 |
urlwolf
Joined: 16 Mar 2006 Posts: 112
|
Posted: Sun Aug 30, 2009 8:30 am Post subject: |
|
|
nope, same problem.
The cross disappears as soon as right click is up; example, if I keep it pressed it works as expected, but as soon as I release it, it sends a right click press and shows the menu. Middle click is still middle click. This is with bot a logitech MX revolution and trackball. |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Aug 30, 2009 8:51 am Post subject: |
|
|
this works for me in firefox
| Code: | Rbutton::
click middle
return |
|
|
| Back to top |
|
 |
urlwolf
Joined: 16 Mar 2006 Posts: 112
|
Posted: Sun Aug 30, 2009 12:52 pm Post subject: |
|
|
yes, that works (I must have something on my other ahk scripts that was preventing this to work).
Still, no joy. You cannot map these two buttons to each other. try it The first mapping is in action when the ahk interpreter reaches the second mapping... |
|
| Back to top |
|
 |
|