Hey guys!
Im looking for an script, which detects at a certain position (example: 3x3 pixels at the middle of the screen) if the color change. From - > to which color it doesnt matter. Simple. I could do this with the PixelGetColor function but I'm looking for another way with the same result.
Have someone an idea or maybe an working script already? I would be very grateful!
Cheers
Do XY if any color change (Without PixelGetColor)
-
- Posts: 2
- Joined: 18 Feb 2018, 12:37
Re: Do XY if any color change (Without PixelGetColor)
You can do a screen capture of that area as the reference image, then use ImageSearch to see if it finds that image in that location. If not, then one or more of the pixels have changed.
-
- Posts: 2
- Joined: 18 Feb 2018, 12:37
Re: Do XY if any color change (Without PixelGetColor)
Sorry if the question is stupid, but with Imgaesearch I can only trigger a specific file, right? Thats not what Im looking for. It must work on my desk, chrome or what ever I have open at this moment.boiler wrote:You can do a screen capture of that area as the reference image, then use ImageSearch to see if it finds that image in that location. If not, then one or more of the pixels have changed.
Re: Do XY if any color change (Without PixelGetColor)
So, "what ever I have open at the moment" is a game??
Re: Do XY if any color change (Without PixelGetColor)
You would have the script capture an image of whatever is on it at the time, so that would be the specific file. It's not a file that is saved in advance; it's a file that the script creates in real time. You can update that file with a new image as often as you need.Someonespecial wrote:Sorry if the question is stupid, but with Imgaesearch I can only trigger a specific file, right? Thats not what Im looking for. It must work on my desk, chrome or what ever I have open at this moment.boiler wrote:You can do a screen capture of that area as the reference image, then use ImageSearch to see if it finds that image in that location. If not, then one or more of the pixels have changed.