$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

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: 27372
Joined: 09 Sep 2014, 18:38

Re: $XButton2 like doubleklick

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

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:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: mikeyww, peter_ahk, Spawnova and 350 guests