Python Forum
How can I loop PyAutoGUI's locateCenterOnScreen until the image is found?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I loop PyAutoGUI's locateCenterOnScreen until the image is found?
#3
Thank you! I think you are correct! I just found this...

https://stackoverflow.com/questions/3937...onscreen-m Wrote:It's useful when you want to wait some time for an image to appear. PyAutoGUI will keep making screenshots and searching for the image until the minSearchTime has passed. I got this from the source code:
Reply


Messages In This Thread
RE: How can I loop PyAutoGUI's locateCenterOnScreen until the image is found? - by Tiel - Sep-26-2021, 09:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Please help me in regards to pyAutoGUI andrewtuk 2 1,497 Jan-01-2023, 05:22 PM
Last Post: gradlon93
  PyAutoGUI issues with detection Bizzy_ 0 4,989 May-03-2021, 01:36 AM
Last Post: Bizzy_
  pyautogui attribuyes not found rfresh737 7 3,101 Apr-14-2021, 01:32 AM
Last Post: rfresh737
  Trying to make random image loop in Tk window using python Jediguy18 1 3,238 Dec-30-2020, 04:56 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020