Change point coordinates Version 5 (Net)

Action group: "Base actions", subgroup "General"


Description

The action returns the coordinates of the new point obtained by the shift relative to some specified point

Action icon

 img758.png

Settings of parameters 

PropertyDescriptionTypeFilling exampleMandatory field
Parameters

Coordinates of point

Coordinates of point

Location Point

(300, 98)

Yes

X-axis shift

Shift along the x-axis

Numeric

90

No

Y-axis shift

Shift along the y-axis

Numeric

-54

No

Results
Coordinates

Variable in which the coordinates of the new point will be written

Location Point

Special conditions of use

If no value is entered in the "Change X" or "Change Y" field,
then the coordinate value of the corresponding axis is saved in the result unchanged

Example of use

Task

You have the coordinates of a point on the Send / Receive tab of Outlook.

You need to switch to the "Folder" tab using device simulation.

Solution

Use the "Change point coordinates" and "Mouse click" actions.

Implementation

  1. Create a variable with the coordinates of the point.


  2. Move the "Change point coordinates" action to the workspace.


  3. Set the parameters for the "Change point coordinates" action.
    1. In the "Coordinates of point" field, add the variable "Coordinates of the "Send / Receive" tab"
    2. In "X-axis shift" set the value to 120
    3. Do not change the "Y-axis shift" parameter


  4. Move the "Mouse click" action to the workspace.


  5. Set the parameters of the "Mouse click" action.
    1. Set the left mouse click in the "Click option" field
    2. In the "Coordinates" field, add the result of the "Change point coordinates" action


  6.  Click on the "Start" button in the top panel.  

Result

The program robot comleted successfully.
The robot switched to the "Folder" tab using the "Mouse click" action on the changed coordinates of the point.

  • Нет меток