Skip to content
Snippets Groups Projects
Commit ee94ad21 authored by s47700's avatar s47700
Browse files

Upload New File

parent dfe4ad25
No related branches found
No related tags found
No related merge requests found
import pyautogui
# Function to click at a specific screen location
def click_at(x, y):
pyautogui.click(x, y)
# Example function to check the output and perform a click
def check_output_and_click(output):
if output == 1:
# Replace (x, y) with the coordinates where you want to click
click_at(x=2995, y=107) # Example coordinates (change to your desired location)
print("Clicked at (100, 100)")
else:
print("Output is not 1, skipping click.")
# Example usage
output_value = 1 # Replace this with your actual output value
check_output_and_click(output_value)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment