mirror of
https://github.com/JonasunderscoreJones/turbo-octo-potato.git
synced 2025-10-28 03: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
24
tabletop_fliptable_loop.py
Normal file
24
tabletop_fliptable_loop.py
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import pyautogui
|
||||
import time
|
||||
|
||||
FIRSTCLICK_X = 2300
|
||||
FIRSTCLICK_Y = 70
|
||||
INBETWEENSLEEPTIME = 0.2
|
||||
SECONDCLICK_X = 1760
|
||||
SECONDCLICK_Y = 1140
|
||||
TIMEOUTSLEEPTIME = 2
|
||||
|
||||
count = 0
|
||||
|
||||
time.sleep(3)
|
||||
|
||||
while True:
|
||||
# Click at pixel (2300, 70)
|
||||
pyautogui.click(FIRSTCLICK_X, FIRSTCLICK_Y)
|
||||
time.sleep(INBETWEENSLEEPTIME)
|
||||
|
||||
# Click at pixel (1760, 1140)
|
||||
pyautogui.click(SECONDCLICK_X, SECONDCLICK_Y)
|
||||
time.sleep(TIMEOUTSLEEPTIME) # Wait for 3 seconds before repeating
|
||||
count += 1
|
||||
print(count, end="\r")
|
||||
Loading…
Add table
Add a link
Reference in a new issue