From 0727469872ac61535f07de471a4fc6cd274b2f4d Mon Sep 17 00:00:00 2001 From: godot Date: Tue, 5 Dec 2023 22:54:57 +0100 Subject: [PATCH] looking cool --- README.md | 0 bin.png | Bin 0 -> 201 bytes yt-del.py | 13 +++++++++++-- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 README.md create mode 100644 bin.png 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 0000000000000000000000000000000000000000..f379f84ffc99515f6a4f642cdc7f62a3cf431a41 GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^vOuiG!2~1^^d0vFQq09po*^6@9Je3(KLBzYJzX3_ zJUZV_zsPw&fyX7gP(tzX4o9}#k-rtETnH1^5)1mY&*h7zy37nO&D%`hM1$Jz`M7BB zxmU!IU!fWq%lN?P@R?WZLbA8+sQPlQ;+xsmA90Ua@7?qL&Sdd;+T+Og)`z6;>F=qU ze^O|JN#tXH%Nx-@{I=Jtf1H+Iaah~)+`oMGxm#tN4DMb#3v>*Fr>mdKI;Vst077$6 A;{X5v literal 0 HcmV?d00001 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