r/AutoHotkey•
gam3b0y

Any easy way to ImageSearch a particular monitor?

Trying to automate part of my job, and I have three monitors at work. While I can currently do this with the main monitor on my project, it would be nice to do this on another screen.

findImage(imageFile) {
        ImageSearch FoundX, FoundY, 5, 805, 170, 850,     %imageFile%
        return !ErrorLevel ; True if 0, False if not-0

That's a bit of the code that I'm using that grabs a particular part of my screen. If there's any way to basically do that but with another monitor (and I'm just overlooking it) please feel free to correct me and call me a moron... lol

Posted Feb 17, 2017, 3:14 AM UTC

11
Loading comments…