This is not possible beause off an overlay everypixels returns as black.
Tried autoit with this code but that didn't work either.
code:
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("{INSERT}", "StartAutoHunt")
While 1
Sleep(100)
WEnd
================================================== ===========================
;Functions
================================================== ===========================
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
Func Terminate()
Exit 0
EndFunc
Func StartAutoHunt()
While 1
Send("V")
Sleep (200)
Send("A")
Sleep (4000)
Send("S")
Sleep (1000)
Send("S")
Sleep (1000)
Send("S")
Sleep (1000)
Send("S")
Sleep (1000)
Wend
EndFunc
|