Click

The Click activity simulates clicking on interface elements (an icon, an input field, a button for calling the context menu) or moving them. Click differs from Double click. Click imitates clicking the mouse button one time, Double click involves clicking the mouse button 2 times, in quick session.

Activity settings

These activities are set up automatically when recording a process or a particular activity. You can change them if you need. To open the settings window, click on the activity on the process diagram.

Parameters Tab

The Parameters tab displays the basic activity parameters, target parameters, and control parameters.

click-1

Basic parameters:

  • Name. The activity name on the process diagram. Its name is set by default when adding the activity. You can change the name in this field;
  • Mouse button. Select the mouse button (left, middle, right) to perform activity;
  • Modifier keys. Simulates simultaneously pressing a key (Ctrl, Shift, Alt) and a mouse button. Click the 15 button to delete the key;
  • Action type. Select activity: Click or Double click;
  • Mouse cursor mode. Select the mode of how the cursor will move between the elements: Without animation or With animation. After selecting the first one, the cursor will move at a standard speed. When animated, it moves between elements without a pause;
  • Offset parameter. Select the process context variable that will store the X and Y click coordinates. The click moves relative to the start point. The value is specified in pixels. For example, 100, 40. The field supports only String variables. The coordinates set in the Target block are ignored.

Read more about target and control parameters in the "Basic activity settings principles" article.

Conditions Tab

Read more about the Conditions tab in the "Basic activity settings principles" article.

Click Image

You can set an image for the bot to search for and click.

The search is set in the recording mode using the radial menu.

  1. Call the radial menu by pressing the Ctrl+Alt+Q combination which is set by default. You can change this combination in the designer settings.
  2. Click the 88 icon and select a part of the image that will be used for searching.

The screen is divided into two areas:

  • active selection area;
  • inactive area (usually darker than the active).

image search

3. Select the image and click the Cut button at the bottom of the screen.

4. The action settings window will be displayed.

click-3

  • Activity type. Select activity: Click, Double Click, Scroll, Hover; Select Click or Double Click.
  • Mouse button. Select mouse button (left, middle, right) to perform activity;
  • Modifier keys. Allows simulating the button press (Control, Shift, or Alt) simultaneously with the button for secondary action performance. Click the 15 button to delete the key.

Offset click

Offset click is used in those cases when during the process recording the element is defined incorrectly. The function mechanism creates the connection to the nearby element whose click area is easily defined.

The offset click is set in the recording mode using the radial menu.

Let’s take an example of how the offset click works in the Notepad application.

  1. Open Notepad in recording mode and go to font settings.
  2. Hover the cursor over the Font field name, call the radial menu, and select 73.
  3. A red cursor will appear. Use it to specify the click area.

offset click

4. Select an element. The action settings window will appear.

click-5

  • Activity type. Select activity: Click, Double click.
  • Mouse button. Select mouse button (left, middle, right) to perform activity.
  • Modifier keys. Allows simulating the button press (Control, Shift, or Alt) simultaneously with the button for secondary action performance. Click the 15 button to delete the key.
  • Offset start point. Specifying the original cursor position relative to which the offsets are performed. There are several options available: top left corner, top right corner, bottom left corner, bottom right corner, center.

5. Now, when started, the bot will first look for the name Font and then click on the dependent field.

Anchor click

Anchor click allows selecting one element from several similar ones. It is set in the recording mode using the radial menu.

For example, you need to select a folder from the This PC menu. A bot does not distinguish these elements because all folders look similar. You have to set an anchor click to make a bot select the required folder. To do this, follow these steps:

  1. Hover the cursor over the control.
  2. Call the radial menu and click the 75 icon.
  3. The control and its subcontrols are framed in red. Select a subcontrol that the bot should click on. The selected area will be highlighted in yellow.

anchor click

  1. Click the Continue button at the bottom of the screen.
  2. The action settings window will appear.

click-7

Activity type. Select activity: Click, Double click.

Mouse button. Select mouse button (left, middle, right) to perform activity.

Modifier keys. Simulates pressing a key (Control, Shift, or Alt) in combination with the mouse button to perform an additional action. Click the 15 icon to delete the key.

Information about subcontrols is dispalyed in the Click or Double click activity settings in the Control box. Read more about the Control box in the "Control box" section of the "Basic activity settings principles" article.

Found a typo? Highlight the text, press ctrl + enter and notify us