8

What would be the code to turn a control+click to a right click?

I'm running windows 7 on a mac and would like to control click on the track pad rather than doing a two finger click.

user247298
  • 429
  • 1
  • 7
  • 17

3 Answers3

9
^LButton::RButton

Very simple! :D

Echilon
  • 10,064
  • 33
  • 131
  • 217
Mafarnakus
  • 91
  • 1
  • 1
6

Try this. This works more similarly to the native right click than Juhzuri's solution -- the context menu comes up near the cursor; it works with controls that don't respect the Windows menu key (AppsKey); and it allows dragging.

^LButton::
  Send {RButton Down}
  Return

^LButton Up::
  Send {RButton Up}
  Return
echristopherson
  • 6,974
  • 2
  • 21
  • 31
2

The following does it for me.

^LButton::AppsKey

I would suggest that you start with the following-

http://www.autohotkey.com/docs/Tutorial.htm

http://www.autohotkey.com/docs/KeyList.htm

Syscall
  • 19,327
  • 10
  • 37
  • 52
Juhzuri
  • 29
  • 1
  • This version doesn't work for me; if I control-click on the desktop, for example, the context menu comes up in the upper left of the screen. With @echristopherson's version, the context menu comes up where I click. – Patrick Beard Jun 01 '19 at 18:43