looking cool
This commit is contained in:
parent
4cd8af49a9
commit
0727469872
13
yt-del.py
13
yt-del.py
@ -1,4 +1,13 @@
|
|||||||
import pyautogui
|
import pyautogui
|
||||||
|
import time
|
||||||
|
|
||||||
res = pyautogui.locateOnScreen("image.png")
|
# locatel and press 3 dots
|
||||||
print(res)
|
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()
|
||||||
Loading…
x
Reference in New Issue
Block a user