Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Mouse click Version 5 (Рython)

Группа действий: Имитация устройств 

Описание

Действие предназначено для имитации клика мышки по заданным координатам. 

Image Removed

Настройки 

...

Варианты вызываемого клика.

В выпадающем списке доступны значения:

  • ЛКМ - Force click.
  • ПКМ - Force right click.
  • Двойной ЛКМ - Force double click.
  • Колесиком мыши - Middle Click

По умолчанию значение равно "ЛКМ".

...

ПКМ

...

Coordinates

Координаты точки, по которой будет совершен клик.

Координаты за областью экрана будут вызывать ошибку.

...

Координаты

...

the_point

или

(300, 1200)

...

Особые условия использования

Отсутствуют. 

Пример использования

Задача: открыть папку, кликнув по ней (двойной клик ЛКМ). 

Image Removed

Решение: воспользоваться действием "Mouse click".

Реализация:

...

Action group: Simulate system

...

Description

The action simulates mouse click according to set coordinates. 

Action icon

Image Added

Parameters

Input parameters

Click option - variants of the click to be called

Coordinates - coordinates of the point to be clicked on

Settings 

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Click optionOptions of the called clickRobin.String
Yes
CoordinatesCoordinates of the point to click on. Coordinates outside the screen area will cause an error.Robin.LocationPoint
Yes

Special conditions of use

None. 

Example of use

Task

Open the folder by clicking on it (double click left mouse button). 

Image Added

Solution

Use the "Mouse click" action. 

Implementation

  1. Move the "Mouse click" action to the workspace:
    Image Added
  2. Set the "Mouse click" action parameters.  
    Image Added
    To fill in the "Coordinates" field click on the three dots button, then on the Image Added button,  in the opened window click on the PickArea button and with the Shift key pressed, specify the coordinates of the element to click.
    Image Added
  3. Click the "Start" button in the top panel. 

Result

The program robot completed successfully. 

Image Added

The robot clicked on the called folder, and it opened

...

Результат:

Программный робот отработал успешно. 

Image Removed

Робот кликнул на указанную папку и папка открылась