Mouse actions
Simulating a mouse action, includes moving mouse pointer, pressing the mouse button, releasing the mouse button, clicking the mouse button and etc.
Click here to show the figure
Parameters
-
Action type It can be Move mouse pointer, Press mouse button and etc.
-
Which button Specifies a button which will be simulated, it can be left, middle or right.
-
Position relative Specifies how to calculate the mouse cursor's position, it can be one of the following:
- relative to the screen coordinates
The position of X is the value of Pos X, the position of Y is the value of Pos Y.
- relative 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.
- relative to the current position
The position of X is that the value of Pos X pluses the X of current position, the position of Y is that the value of Pos Y pluses the Y of current position.
-
Pos X Specifies a value for X, it can be an expression.
-
Pos Y Specifies a value for Y, it can be an expression.
Capture tool
It is a tool for retrieving a position of cursor, you can use either dragging or pressing a hotkey to do that.
Note:
You may use the instruction Image search to retrieve the position of an unfixed icon, button, or other shape.
You may use the instruction Text search based on image to retrieve the position of the specified text.
|