image search help Topic is solved

Ask gaming related questions (AHK v1.1 and older)
cavro4

image search help  Topic is solved

19 Mar 2018, 01:59

im testing out the image search but it seems that i cant make it work
im a noob sorry
the 1st picture is the one i was searching and the 2nd pic is the start2 image
and how can i find the exact coordinate of a window or how can it automatically find the image in the whole active window
thanks
https://imgur.com/a/KORGD

Code: Select all

8::
if WinActive("GoogleChrome")

 {
ImageSearch, FoundX, FoundY, 1332, 694, 1382, 744,*200 start2.png
If(ErrorLevel == 0){
	MsgBox success
}
}
ImageSearch, FoundX, FoundY, 1332, 694, 1382, 744,*200 start2.png
If(ErrorLevel == 1){
MsgBox fail
}
return	

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 52 guests