mirror of
				https://github.com/JonasunderscoreJones/turbo-octo-potato.git
				synced 2025-10-25 19:19:19 +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
				
			
		
							
								
								
									
										24
									
								
								tabletop_achievements/tabletop_fliptable_loop.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								tabletop_achievements/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