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