looking cool

This commit is contained in:
godot 2023-12-05 22:54:57 +01:00
parent 4cd8af49a9
commit 0727469872
3 changed files with 11 additions and 2 deletions

0
README.md Normal file
View File

BIN
bin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

View File

@ -1,4 +1,13 @@
import pyautogui
import time
res = pyautogui.locateOnScreen("image.png")
print(res)
# locatel and press 3 dots
x1, y2 = pyautogui.locateCenterOnScreen("dots.png")
pyautogui.moveTo(x1, y2)
pyautogui.click()
# locate and press bin
sleep(2)
x2, y2 = pyautogui.locateCenterOnScreen("bin.png")
pyautogui.moveTo(x2, y2)
pyautogui.click()