Help with this script please.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
marvix
Posts: 4
Joined: 23 Dec 2016, 10:46

Help with this script please.

16 Aug 2018, 12:10

hi all.. i have a working script that i use in a game. and its perfect for what i need.. but i want to be able to pause the script and just use left mouse button when i click it. what i mean:(i click XButton1 and the script run spamming qwe as you can see in the script, and when i click down the left mouse button and while its clicked down it will function normal just like when i left click the mouse in game and send Lbutton normally.. hopefully i have explained what i need right. thanks a lot

Code: Select all

#IfWinActive Path of Exile 

toggle=0
 
XButton1::

If (toggle := !toggle)
	SetTimer, Timer, -1
return
 
timer:
while toggle
{

	send qwr
click
	Sleep, 20
}
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee, Google [Bot], gsxr1300, inseption86, jaka1 and 276 guests