Wait for Pixel Action—Setting Properties

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.

To set Wait for Pixel properties

  1. 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.

  2. In the Action box, select the action to wait for. The selections are:

  3. Open the window containing the graphic or display you want to wait for.

  4. Select Coordinates relative to foreground window or Coordinates relative to screen.

  5. Move 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.

  6. 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.

  7. To set the Description tab properties, refer to Description Tab Options.

  8. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  9. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

Wait for Pixel Action