Wait for Color
Suspends the playback until the specified color of pixel changes to the given color, or to any other color. It's very useful to
wait completing an action on an application, because in most of case an action may cause certain pixels color changed in the application's window.
Click here to show the figure
Parameters
-
Wait until specified: Specifies how to wait 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
-
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.
-
Match color value exactly Specifies how to compare the color value, matching exactly or similarly.
-
Time out after X seconds Specifies the number of seconds to wait before failing.
-
Action if timeout Specifies an action that should be taken place if the time is out.
-
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.
|