mirror of
https://github.com/JonasunderscoreJones/turbo-octo-potato.git
synced 2025-10-26 02:29:18 +01:00
added tabletop advancement gathering scripts
This commit is contained in:
parent
d0e07e9fe8
commit
37840c4dbe
3 changed files with 88 additions and 0 deletions
29
tabletop_savetochest_loop.py
Normal file
29
tabletop_savetochest_loop.py
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
import pyautogui
|
||||
import time
|
||||
import os
|
||||
|
||||
time.sleep(3)
|
||||
|
||||
while True:
|
||||
# Click at pixel (1870, 675)
|
||||
pyautogui.moveTo(1870, 675)
|
||||
pyautogui.click(1870, 675, button='right')
|
||||
time.sleep(0.15)
|
||||
|
||||
# Click at pixel (2030, 875)
|
||||
pyautogui.click(2030, 875)
|
||||
time.sleep(0.15)
|
||||
|
||||
# Click at pixel (1700, 1110)
|
||||
pyautogui.click(1700, 1110)
|
||||
time.sleep(0.15)
|
||||
|
||||
# Get the current Unix timestamp
|
||||
timestamp = str(int(time.time()))
|
||||
|
||||
# Enter the timestamp as key presses
|
||||
pyautogui.write(timestamp)
|
||||
|
||||
# Click at pixel (1770, 1200)
|
||||
pyautogui.click(1770, 1200)
|
||||
time.sleep(0.2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue