#include #include $ImageCenter = 1 $ImageTopLeft = 0 $FoundX = 0 $FoundY = 0 ;~ Func _ImageSearch($findImage,$resultPosition,ByRef $x, ByRef $y,$tolerance,$transparency=0) ;~ Func _ImageSearchArea($findImage,$resultPosition,$x1,$y1,$right,$bottom,ByRef $x, ByRef $y, $tolerance, $transparency=0) ;~ 0xffffff ; 0xFFFFFF ;Google G Blue 0x4285F4 ConsoleWrite("Stating Search" & @CRLF) ;~ $results = _ImageSearchArea("base.bmp",1,0,0,700,700,$FoundX, $FoundY,10) $results = _ImageSearch("base.bmp",0, $FoundX,$FoundY,0, 0x4285F4) If ($results = 1) Then ConsoleWrite("Found Image" & @CRLF) mousemove($FoundX, $FoundY) sleep(3000) Mousemove(1,1) EndIf