2023-12-05 22:54:57 +01:00

13 lines
278 B
Python

import pyautogui
import time
# 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()