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

Ключ

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

...

Wait press hot keys Version 3 (Net)

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

Описание

Ожидание нажатия указанной клавиши на реальной клавиатуре для продолжения исполнение алгоритма. 

Иконка

Image Removed

Параметры

Входные параметры  

Клавиши                 Клавиша или комбинация клавиш, нажатие которой будет ожидаться.

Тайм-аут                 Максимальное время ожидания.

Настройки

...

Клавиша или комбинация клавиш, нажатие которой будет ожидаться.

Комбинация клавиш указывается через "+".

Список доступных клавиш и их названия - Список наименований клавиш

...

Enter

или

Shift+Left

...

Action group: Simulate system

...

Description

Waiting for clicking the specified key on the real keyboard to continue execution of the algorithm

Action icon

Image Added

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
KeysKey or key combination that will be expected to be pressed. Key combination is indicated via «+».Robin.HotKeys
Yes
Time-outMaximum waiting time for key press. Specified in milliseconds. The default is 1000. If no pressing was made, the action will end with an error. Negative values are not allowed.Robin.Numeric
Yes

Special conditions of use

None.

Example of use

Task

There is a folder on the desktop, click on it and wait for the "Delete" click. 

Image Added

Solution

Use the "Mouse click", "Wait press hot keys" actions. 

Implementation

  1. Assemble a robot scheme consisting of actions:
    Image Added

  2. Set the parameters for the "Mouse click" action. 
    Image Added
    To fill in the "Coordinates" field it is necessary to click on the button in the form of three dots, then on the button Image Added,  In the window that appears, click the PickArea button and with the Shift key clicked specify the coordinates of the element to be clicked.
    Image Added

  3. Set the parameters for the "Wait press hot keys" action. 
    Image Added

  4. Click on the "Start" button in the upper panel. Click on the "Delete" button. 

Result 

The program robot completed successfully.

Image Added

The folder is placed in the trash and removed from the desktop. 
Image Added

Максимальное время ожидания.

Указывается в миллисекундах.

По умолчанию равно 1000.

Если нажатия не было произведено, действие завершится с ошибкой.

Отрицательные значения запрещены.

...

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

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

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

Задача

Существует папка на рабочем столе, кликнуть по ней и ожидать нажатия кливиши "Delete". 

Image Removed

Решение

Воспользоваться действием "Клик мышью", "Ожидание нажатия горячих клавиш". 

Реализация

...

Результат 

Программный робот отработал успешно. Папка удалена с рабочего стола. 
Image Removed