Mouse left click

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
bashaegxon
Posts: 5
Joined: 14 May 2021, 19:27

Mouse left click

14 May 2021, 19:33

If I press \ key and left mouse button do first left mouse click than do the second left mouse click keep holding the second left click until it is released,
Last edited by bashaegxon on 14 May 2021, 21:48, edited 1 time in total.
User avatar
mikeyww
Posts: 26869
Joined: 09 Sep 2014, 18:38

Re: Mouse left click

14 May 2021, 20:34

Code: Select all

LButton::LButton
LButton & \::
Click
Click, D
SoundBeep, 1500
KeyWait, LButton
Click, U
SoundBeep, 1000
Return
bashaegxon
Posts: 5
Joined: 14 May 2021, 19:27

Re: Mouse left click

14 May 2021, 21:43

IT is not working but thanks for trying
User avatar
mikeyww
Posts: 26869
Joined: 09 Sep 2014, 18:38

Re: Mouse left click

15 May 2021, 06:23

You press the button and then the backslash. Test in Notepad.
bashaegxon
Posts: 5
Joined: 14 May 2021, 19:27

Re: Mouse left click

15 May 2021, 16:11

mikeyww wrote:
15 May 2021, 06:23
You press the button and then the backslash. Test in Notepad.
thank you very much I figured it out
this is what i meant:

Code: Select all

SC056 & LButton::
Send {LButton Down}
Send {LButton Up}
Send {LButton Down}
KeyWait,LButton
Send {LButton Up}
return
User avatar
mikeyww
Posts: 26869
Joined: 09 Sep 2014, 18:38

Re: Mouse left click

15 May 2021, 16:26

Good! I'm glad it works.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: prototype_zero, w_i_k_i_d and 320 guests