AHK SCRIPT

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
keficiqo
Posts: 1
Joined: 02 Nov 2019, 01:07

AHK SCRIPT

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.
Kobaltauge
Posts: 264
Joined: 09 Mar 2019, 01:52
Location: Germany
Contact:

Re: AHK SCRIPT

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

~LButton::
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 (v1)”

Who is online

Users browsing this forum: mikeyww, mmflume, OrangeCat, ShatterCoder and 79 guests