ImageSearch auto button Help

Get help with using AutoHotkey and its commands and hotkeys
klausdark6
Posts: 5
Joined: 26 Sep 2018, 15:49

ImageSearch auto button Help

26 Sep 2018, 15:56

Hello Guys!

Im trying to create a script to push a button when a img is find on an app screen
~1::
Send {Q down}
CoordMode, Pixel
ImageSearch, FoundX, FoundY, 900, 1000, 940, 1040, C:\Users\x\Desktop\x.png
Sleep 10
Send {Q up}
Return
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.

Thx!

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], blad4, SerValar, swagfag and 163 guests