From 67827d14ad2993c73e2a2e689f110e2b8ca683e7 Mon Sep 17 00:00:00 2001 From: pythonkoft Date: Fri, 7 Nov 2025 11:33:13 +0000 Subject: [PATCH] Update main.py test --- main.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/main.py b/main.py index 3d02712..b43810a 100644 --- a/main.py +++ b/main.py @@ -1657,6 +1657,18 @@ class ea_fucking(): if location: pyautogui.click(pyautogui.center(location)) for i in range(6): + try: + # towfacktor.PNG + location = pyautogui.locateOnScreen(os.path.join(self.path_png_file,r'towfacktor.PNG'), confidence=0.8) + if location: + pyautogui.click(pyautogui.center(location)) + pyautogui.press('tab') + pyautogui.press('enter') + print('find towfacktor !!!!!!!!!!!!') + break + # print('find towfacktor !!!!!!!!!!!!') + except: + pass pyautogui.press('tab') sleep(0.5) pyautogui.press('enter')