Tool: "image recognition". When i am run the script for the first time, always everything is going well.
But sometimes it recognizes the picture without any reason anywhere on the screen, hovever there is nothing even remotely similar.
I do not change the code, but sometime it works correct and sometime wrong, why?
Code: Select all
FindImagePos>C:\Users\Alex\Desktop\file.png,SCREEN,0.9,1,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>XArr_0,YArr_0
LClick
Message>I found this
wait>5
Else
Message>can't find it
wait>5
Endif