Mapping enter key to double click?

Get help with using AutoHotkey and its commands and hotkeys
vonsworld
Posts: 3
Joined: 13 Sep 2017, 13:42

Mapping enter key to double click?

09 Aug 2020, 05:59

Perhaps you could you give me some quick help...

I'd like to write a script that double clicks the mouse whenever the enter/return key is pressed, any ideas please?

Thanks
Robin
adamantine
Posts: 27
Joined: 01 Aug 2020, 00:58
Location: europe

Re: Mapping enter key to double click?

09 Aug 2020, 06:19

Code: Select all

Enter::
{
SetMouseDelay, -1
SendEvent,{Click down}
SendEvent,{Click up}
SendEvent,{Click down}
SendEvent,{Click up}
}
return
User avatar
Yakshongas
Posts: 579
Joined: 21 Jan 2020, 08:41
Facebook: Yakshongas

Re: Mapping enter key to double click?

09 Aug 2020, 07:01

Code: Select all

Enter::Click, 2
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], EffinFail, JoeWinograd, Lorik, mikeyww, TAC109 and 52 guests