CoordMode, Pixel ImageSearch, FoundX, FoundY, 172,492, 259, 552, C:\Users\BM\Desktop\New folder 2 if ErrorLevel = 0 MsgBox kim is here else if ErrorLevel = 1 MsgBox no kim
hi guys .
the code above is my code for image search. i have an image in my desktop and i want my pc to detect it.
its not working
my goal is to search for a particular area (not the whole screen)
and plus if the image is detected, the mouse will click that image where ever it is( it is not included in my code)
i know it is discusted here many times.. but Im too confused why they use this?
ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, C:\Users\BM\Desktop\New folder 2
please make it simple and put explanation.. Thanks guys