user3787179
user3787179

Reputation: 233

PyAutoGui LocateOnScreen() - multiple locations

How does this function work if there are several exact images on the screen? I'm trying to write a program that goes down a list of rows, checks for that image, if there, click, then keep looping.

Upvotes: 1

Views: 4909

Answers (1)

user3787179
user3787179

Reputation: 233

If you want to do that, you should use locateAllOnScreen().

Upvotes: 7

Related Questions