User Tools

Site Tools


en:actions:actionpixelcolor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:actions:actionpixelcolor [2016/10/09 09:10]
en:actions:actionpixelcolor [2020/02/09 13:26] (current)
Line 1: Line 1:
 +====== 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:​exceptions#​Bad parameter|Bad parameter]]
 +  * [[en:​actions:​exceptions#​Code error|Code error]]
 +  * [[en:​actions:​exceptions#​timeout|Timeout]]