Help add missing function into code

Ask gaming related questions (AHK v1.1 and older)
felipe93
Posts: 29
Joined: 03 May 2019, 08:20

Help add missing function into code

26 Jul 2020, 02:38

Hello everyone i need help with this script

what this does is search x item in a certain x y and widh and heigh it right click on it and it comes to the possition with the items on crosshair
this is the script

Code: Select all

Home:: ; DESTROY FIELD
	
	MouseGetPos, Var6X, Var6Y	
			P
										Sleep, 20
	
	
Return
i need that after

Code: Select all

nt,, Right
, it clicks left i tried adding something like

Code: Select all

ControlClick, Var6X, Var6Y, Old-Ultra Client,, Left,
and other methods
so this way it will click left where my mouse position is, but haven't had succes. please help

i want something like this but in the code posted above

Code: Select all

Home:: ; hotkey
n izquierdo en donde este posicionado el mouse
return
Last edited by felipe93 on 19 Aug 2020, 02:06, edited 3 times in total.
felipe93
Posts: 29
Joined: 03 May 2019, 08:20

Re: Help add missing function into code

27 Jul 2020, 13:01

Solved ! i forget to change the varible from the item to the pos variable so instead

Code: Select all

Home:: ; Destroy field

Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: drwill and 53 guests