diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/bin.png b/bin.png new file mode 100644 index 0000000..f379f84 Binary files /dev/null and b/bin.png differ diff --git a/yt-del.py b/yt-del.py index c2f5b4d..baa308b 100644 --- a/yt-del.py +++ b/yt-del.py @@ -1,4 +1,13 @@ import pyautogui +import time -res = pyautogui.locateOnScreen("image.png") -print(res) \ No newline at end of file +# 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() \ No newline at end of file