Clicking an image if theres 2 of them

Hi everyone!

I need some help regarding a macro that clicks on FOUND IMAGE.

So my macro works well when it finds the image on the screen and clicks it but it doesnt work at all if TWO of the SAME IMAGE is showing on the screen.

My question is, how can I make it click one of these two of the SAME image just like it would click if only ONE of them popped up?

Thanks in advance!

Use the Find Image on Screen action to find the (possibly non-unique) image and store the result in a variable, and then use the Move or Click Mouse action relative to "absolute coordinates" and use the variable in the position field (as in "MyVar.x" and "MyVar.y".

1 Like

Since the OP asked for

I'm pretty sure that the Unique checkbox on the Find Image will need to be UNCHECKED.

image

Also, you should limit the search area to Frontmost Window if you can. This will greatly improve on speed.

1 Like