The Wait for Pixel action is used to pause the task until a specified pixel color condition is met. This is commonly used to detect the presence or absence of a particular graphic in a window.
From the Task Builder Available Actions pane, open the Wait folder and double-click the Wait for Pixel action or drag it into the Steps pane.
In the Action box, select the action to wait for. The selections are:
Wait for pixels to match: The colors displayed at the specified coordinates must exactly match the colors specified in the Pixel(s) to wait for box.
Wait for pixels to differ from: The colors displayed at the specified coordinates must differ from the colors specified in the Pixel(s) to wait for box.
Wait for pixels to change color: Pixels at the specified coordinates must change from the color displayed at the time the step began.
Open the window containing the graphic or display you want to wait for.
Select Coordinates relative to foreground window or Coordinates relative to screen.
the mouse pointer over the graphic and press Insert
at several key points to capture the colors and coordinates. Capture enough
points from the graphic to accurately detect its presence or absence.
The captured coordinates and color designations are listed in the Pixel(s) to wait for box.
To edit or delete an entry from the Pixel(s) to wait for list, select it and click Edit or Delete. In the dialog box that displays when you click Edit, you can manually change the entries or use point and Insert to recapture coordinates.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Wait for Pixel Action