region_changed
Monitor a screen region until it changes, then return the updated image. Use to detect when a reply arrives, a spinner stops, or a download finishes.
Instructions
Wait until a window or rectangle CHANGES, then show it. For anything wait_for cannot express: a reply arriving, a spinner finishing, a download completing. Polls pixels here instead of making you take blind screenshots and look at each one, and returns as soon as it changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | Attach the picture once it changes. | |
| region | No | Rectangle for look:"region", in screen pixels. Object form {x, y, width, height} or array form [x, y, width, height]. | |
| window | No | ||
| timeout | No | ||
| poll_seconds | No |