Macro Scheduler 15




This command causes Macro Scheduler to wait until the image bound by the specified pixel coordinates changes.  If it doesn't change within the number of seconds specified in Timeout, the command stops waiting and the variable WRC_RESULT is set to FALSE.  WRC_RESULT is TRUE if the command terminated because the image changed within the specified time.  if Timeout is set to 0, the command will wait indefinitely.


TLX - Top Left corner X coordinate

TLY - Top Left corner Y coordinate

BRX - Bottom Right corner X coordinate

BRY - Bottom Right corner Y coordinate


This function was optimized in version 10 to improve performance and now operates very quickly, taking around 0.1 second to scan a 500x500 area of screen.  However, on some systems it may consume a lot of CPU cycles in the process.  If you need to force the function to yield to the system more you can set GRC_YIELD to 1, but this will have the side effect of slowing the function down, as it gives over CPU time to other processes.


Abbreviation : WRC

See also: Wait, WaitWindowOpen, WaitWindowClosed, WaitCursorChanged, WaitPixelColor, GetRectCheckSum