mirror of
https://github.com/JonasunderscoreJones/turbo-octo-potato.git
synced 2025-10-25 11:09:18 +02:00
moved tabletop scripts to dedicated folder
This commit is contained in:
parent
37840c4dbe
commit
5b52d79155
3 changed files with 0 additions and 0 deletions
29
tabletop_achievements/tabletop_savetochest_loop.py
Normal file
29
tabletop_achievements/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