Jump to content

how to detect if a region change


Go to solution Solved by argumentum,

Recommended Posts

Hello my friends, along with saying hello and hoping you have a great day, I want to ask you how to detect if there are changes in a region of the screen.

 

I need to know if a region: 1446, 783, 1852, 1026 change

 

best regards

Link to comment
Share on other sites

Thanks a lot argumentum

i use this conde and working fine!

#include <MsgBoxConstants.au3>

; Get initial checksum
Local $iCheckSum = PixelChecksum(1444, 754, 1859, 1028)

; Wait for the region to change, the region is checked every 100ms to reduce CPU load
While $iCheckSum = PixelChecksum(1444, 754, 1859, 1028)
        Sleep(100)
WEnd

 

 

best regards

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...