Hello, I want to take an image of an "object" of an application to have the code, how can I do it? After that, I want to click it automatically with a key for example F12.
It is an object that moves, more specifically, a soccer ball in a game.
Get a code
-
- Posts: 7
- Joined: 19 Jun 2023, 11:19
- Contact:
Re: Get a code
Since it would be pretty terrible graphics if the ball always looked exactly like that as it moved, then your best chance is searching just for some white-ish pixels or blackish pixels assuming there are none other in the search area as opposed to the static pattern of one orientation of the ball. And even then, it probably moves way too quickly for AHK to keep up with it unless it’s just sitting there like a free kick or something.
Who is online
Users browsing this forum: No registered users and 3 guests