Get help with using AutoHotkey and its commands and hotkeys
Posts: 1
Joined: 02 Nov 2019, 01:07


02 Nov 2019, 01:12

Hi community

how to create an ahk script about "double click drag" function like in x-mouse button control but fastest response click as posible i mean with less lag left click response while i'm clicling..
and set a bind like F1 for enable and disable :superhappy:

thanks for help
Last edited by keficiqo on 12 Jan 2020, 03:43, edited 6 times in total.
Posts: 239
Joined: 09 Mar 2019, 01:52
GitHub: MassimoCastell
Location: Germany


02 Nov 2019, 09:09

You can define a variable and switch it with F1 to execute code or not.

Code: Select all

trigger := true

F1::trigger :=! trigger

if (trigger)
	;do stuff
But beware of this code. F1 is usually the Help key and if you remap your left mouse button without the ~ is doesn't work anymore.
We had a long discussion about the left mouse button on this thread https://www.autohotkey.com/boards/viewtopic.php?f=76&t=65437

For the function, that you are requesting, I can't help you.

Return to “Ask For Help”

Who is online

Users browsing this forum: Google [Bot], hackkk745, Jazzman, Mprobiz3, sandmastro, shemtech, Vandalieu and 64 guests