Page 1 of 1

ImageSearch auto button Help

Posted: 26 Sep 2018, 15:56
by klausdark6
Hello Guys!

Im trying to create a script to push a button when a img is find on an app screen
Send {Q down}
CoordMode, Pixel
ImageSearch, FoundX, FoundY, 900, 1000, 940, 1040, C:\Users\x\Desktop\x.png
Sleep 10
Send {Q up}
So, i push 1 to activate, then the script push Q, and if the img is founded on screen, the Q is pressed again.

But nothing happens after i press Q.

Im trying to understand what i do wrong, and how can i find the right coordinates on the app screen.