If Color
Conditionally play a set of steps based on the value of a pixel's color. If the color value meets the criteria,
any steps following 'If Color' and preceding 'Else' or 'End If' (whichever occurs first) are played.
Click here to show the figure
Parameters
-
Compare type: Specifies how to compare the pixel color, it can be the following:
- pixel color is sam as specified color
- pixel color is not sam as specified color
- pixel color is changed
-
Within X seconds For "Pixel color is changed" only, it specifies the number of seconds to wait for the pixel color.
-
Position relative Specifies how to calculate the mouse cursor's position, it can be one of the following:
- to the screen coordinates
The position of X is the value of Pos X, the position of Y is the value of Pos Y.
- to the foreground window
The position of X is that the value of Pos X pluses the left coordinate of the foreground window, the position of Y is value of Pos Y pluses the top coordinate of the foreground window.
-
Pos X Specifies a value for X, it can be an expression.
-
Pos Y Specifies a value for Y, it can be an expression.
-
Color of pixel Specifies the color of pixel for comparing during playback.
-
Capture tool A tool for picking position coordinate and color. Just move the mouse pointer
to the right box and drag it to the desired position, and then release the mouse key.
-
Picked by Hotkey Click the button to enter the picking state, and simply move the mouse pointer around
the target position and then press the hotkey.
|