Aimtu Posted July 2, 2024 Posted July 2, 2024 Hi, I'm trying to create a "simple" script with chatgpt but I can't get it to work. What I wan't to do is basically: If Button is pressed --> check area1 for color x If color found click at x, y. If color not found check area2 for color x .... And this continues with all areas until the color is found. I wan't the script to go to the next page but the next-page-button moves further and further to the right the more pages there are. So I have some areas and coordinates where the button could be and I wan't the script to check these areas from right to left until the button is found and then click it. My problem is that the color is not found even though it is 100% there. I tried to add some tolerance but with no success. And if the color is found its just randomly on the site and not where it should. So all I need is a code for checking a limited area for a color. And maybe a code that allows a tiny bit of tolerance in the color.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now