Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

autohotkey ctrl+click = right click

Tags:

autohotkey

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.

like image 261
user247298 Avatar asked Jul 22 '12 22:07

user247298


2 Answers

^LButton::RButton

Very simple! :D

like image 89
Mafarnakus Avatar answered Sep 20 '22 18:09

Mafarnakus


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
like image 35
echristopherson Avatar answered Sep 23 '22 18:09

echristopherson