We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c913b8a commit ba7a13dCopy full SHA for ba7a13d
Coordinates_finder_helper.py
@@ -0,0 +1,17 @@
1
+# Helper script to get mouse coordinates
2
+import pyautogui
3
+import time
4
+
5
+print("Move your mouse to the top-left corner of the region and press Ctrl+C.")
6
+try:
7
+ while True:
8
+ x, y = pyautogui.position()
9
+ position_str = f"X: {str(x).rjust(4)} Y: {str(y).rjust(4)}"
10
+ print(position_str, end='')
11
+ print('\b' * len(position_str), end='', flush=True)
12
+ time.sleep(0.1)
13
+except KeyboardInterrupt:
14
+ print("\nCoordinates captured.")
15
16
+# Now you have the top-left (x, y). You'll need to estimate/measure the width and height.
17
+# Repeat for each required region (question + 4 answers).
0 commit comments