Sample Header Ad - 728x90

Using AppleScript to click on the correct button

0 votes
0 answers
61 views
I would like to code a simple program to click on one of 3 different buttons: Red, Yellow, or Blue, depending on what the prompt shows. If the prompt says "Red" it has to click on red etc. enter image description here Here is says Yellow so the program has to click on the yellow button in the middle (even though the text is red). Can anyone help me to code this? Thanks a lot! EDIT: I don't know how to code the script so that it can read the word. I know how to make it click on certain coordinates but I have no idea how to make it read "Yellow" for example.. I don't know if anyone can help me, I'm not advanced enough to make it
Asked by Azerty (1 rep)
May 24, 2022, 08:24 PM
Last activity: May 25, 2022, 04:04 PM