nextcloud test
This commit is contained in:
parent
87023a27bc
commit
a17d400ba1
@ -10,13 +10,13 @@ up = "a"
|
||||
while True:
|
||||
if keyboard.read_key() == delete:
|
||||
x, y = pyautogui.position()
|
||||
# locatel and press 3 dots
|
||||
x1, y2 = pyautogui.locateCenterOnScreen("dots.png")
|
||||
# locatel and edit
|
||||
x1, y2 = pyautogui.locateCenterOnScreen("edit.png")
|
||||
pyautogui.moveTo(x1, y2)
|
||||
pyautogui.click()
|
||||
# locate and press bin
|
||||
# locate and press del
|
||||
sleep(0.2)
|
||||
x2, y2 = pyautogui.locateCenterOnScreen("bin.png", confidence=0.75)
|
||||
x2, y2 = pyautogui.locateCenterOnScreen("myCont.png", confidence=0.75)
|
||||
pyautogui.moveTo(x2, y2)
|
||||
pyautogui.click()
|
||||
# move back
|
||||
@ -24,7 +24,7 @@ while True:
|
||||
|
||||
if keyboard.read_key() == skip:
|
||||
x, y = pyautogui.position()
|
||||
pyautogui.moveTo(x, y + 90)
|
||||
pyautogui.moveTo(x, y + 70)
|
||||
|
||||
if keyboard.read_key() == up:
|
||||
x, y = pyautogui.position()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user