User Tools

Site Tools


en:actions:actionpixelcolor

Pixel color

This action allows you to check the color of a pixel on the screen. This can be used to check for the presence of some element on the screen, or wait for an application to be started.

Standard parameters

Input parameters

Pixel

The coordinates of the pixel to check and the color to compare it with. By default the selected color is set when choosing the coordinates. You can change the color to compare to by clicking on the "Choose…" button.

Comparison

The comparison mode:

  • Equal: both colors are equal
  • Darker: the pixel color is darker than the specified color
  • Lighter: the pixel color is lighter than the specified color

Advanced parameters

Input parameters

Red tolerance

The tolerance percentage for the red color component.

[Added in Actionaz 3.2.1.]

Green tolerance

The tolerance percentage for the green color component.

[Added in Actionaz 3.2.1.]

Blue tolerance

The tolerance percentage for the blue color component.

[Added in Actionaz 3.2.1.]

Offset

Coordinates, used as a translation vector, applied to the point targeted in the standard parameters.

[Added in Actionaz 3.7.0.]

Output parameters

Pixel color variable

The name of the variable where to store the measured pixel color.

Exceptions

en/actions/actionpixelcolor.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1