Having trouble with ControlClick with autoclicker

Ask gaming related questions (AHK v1.1 and older)
Djs91
Posts: 1
Joined: 13 Sep 2017, 23:46

Having trouble with ControlClick with autoclicker

14 Sep 2017, 00:19

Hey all,

Brand new to AHK and scripting in general and attempting to make a simple F5 spam and after 5 minutes, left click in a specific spot and start over again.

I have everything working except the ControlClick, and after reviewing the documentation and examples I'm completely stumped. Any ideas?

Thanks

EDIT: The purpose is to be able to run the script with the application being in the background

Code: Select all

^j::



Loop
{

Loop, 60
{
	ControlSend, , {F5}, ahk_exe ClickRaid.exe
	Sleep, 5000
	;MouseMove, 525, 527
	
}

	SetControlDelay -1
	ControlClick, x1352 y332, ClickRaid,, LEFT, 1, NA
	
}

Return


yessorryno
Posts: 22
Joined: 12 Sep 2017, 03:13

Re: Having trouble with ControlClick with autoclicker

17 Sep 2017, 20:21

Hi,

Makes Send synonymous with SendInput or SendPlay rather than the default (SendEvent).

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 83 guests