Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


AutoHotKey cloud quest

27 May 2024 »

file.ahk

CoordMode, Mouse, Screen
CoordMode, Pixel, Screen

q::
MouseGetPos, x, y
MouseMove, x-40, y, 1
return


f1::suspend


f2::exitapp

f3::reload


;XButton1::
;MouseClick, left, 3676, 554
;return

XButton2::
MouseClick, left, 3676, 554
return

e::
MouseGetPos, x, y
MouseMove, x+40, y, 1
return

z::
MouseClick, left, 3676, 554
return

x::
MouseClick, left, 3773, 672
return

;c::
;MouseClick, left, 3773, 732
;return

t::
	msgbox, 11
return

Space::
	imagesearch, x, y, 3274, 252, 4437, 898, weapon.png
	if ErrorLevel = 0
	{
		MouseClick, left, x+10, y+10
		return
	}
return

c::
	Send {Esc}
	Sleep 200
	Send {Esc}
	Sleep 2000
	Send {Shift}
	imagesearch, x, y, 3274, 252, 4437, 898, weapon.png
	if ErrorLevel = 0
	{
		MouseClick, left, x+10, y+10
		return
	}
return

;Space::
;1::
RButton::
	;imagesearch, x, y, 3274, 252, 4437, 898, resume.png
	imagesearch, x, y, 3274, 252, 4437, 898, routego.png
	if ErrorLevel = 0
	{
		MouseClick, left, x, y
		return
	}
	imagesearch, x, y, 3274, 252, 4437, 898, routego2.png
	if ErrorLevel = 0
	{
		MouseClick, left, x, y
		return
	}
	imagesearch, x, y, 3274, 252, 4437, 898, answer.png
	if ErrorLevel = 0
	{
		MouseClick, left, x, y
		return
	}
	imagesearch, x, y, 3274, 252, 4437, 898, answer2.png
	if ErrorLevel = 0
	{
		MouseClick, left, x, y
		return
	}
	imagesearch, x, y, 3274, 252, 4437, 898, collect.png
	if ErrorLevel = 0
	{
		MouseClick, left, x, y
		return
	}
	imagesearch, x, y, 3274, 252, 4437, 898, collect2.png
	if ErrorLevel = 0
	{
		MouseClick, left, x, y
		return
	}
	imagesearch, x, y, 3274, 252, 4437, 898, collect3.png
	if ErrorLevel = 0
	{
		MouseClick, left, x, y
		return
	}
	;imagesearch, x, y, 0, 0, 8320, 2156, routego.png
	
	;msgbox , %x% - %y%
return