$XButton2 like doubleklick

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
armin889
Posts: 96
Joined: 02 Nov 2021, 15:11

$XButton2 like doubleklick

Post by armin889 » 29 Jun 2022, 21:48

Hi,
I want that my XButton2 works same like DoubleClick

is there any other solution like doing LButton times two ? "Click 2" kinda work but its not 100% the same

Code: Select all

$XButton2::Click 2
$XButton1::LButton
thanks

User avatar
mikeyww
Posts: 26609
Joined: 09 Sep 2014, 18:38

Re: $XButton2 like doubleklick

Post by mikeyww » 30 Jun 2022, 05:05

Code: Select all

XButton2::SendInput {LButton 2}

armin889
Posts: 96
Joined: 02 Nov 2021, 15:11

Re: $XButton2 like doubleklick

Post by armin889 » 30 Jun 2022, 14:43

mikeyww wrote:
30 Jun 2022, 05:05

Code: Select all

XButton2::SendInput {LButton 2}
thanks, i will try it :thumbup:

Post Reply

Return to “Ask for Help (v1)”