Update main.py
test
This commit is contained in:
12
main.py
12
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')
|
||||
|
||||
Reference in New Issue
Block a user