История страницы
...
Release key Version 3 (Рython)
Группа действий: Имитация устройств
Описание
Действие имитирует снятие удержания клавиши в нажатом состоянии.
Иконка
...
Action group: Simulate system
...
Description
The action simulates the release of the key hold.
Action icon
Settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Key | Name of the key. If multiple keys are specified, only the first one will be selected. | Robin.HotKeys | Yes |
Особые условия использования
Отсутствуют
Пример использования
Задача: имеется текстовая переменная с значением = тест. Необходимо открыть блокнот и вставить туда значение данной переменной, но большими буквами. Далее, выполнить нажатие клавиши Enter для перехода курсора на новую строку.
Решение: воспользоваться действиями "Клик мышью", "Нажать клавишу и удерживать", "Ввод текста", "Отпустить клавишу", "Нажатие клавиш".
Реализация:
...
Special conditions of use
None.
Example of use
Task
We have a text variable with the value = test. You need to open Notepad and paste the value of this variable there, but in capital letters. Next, press Enter to move the cursor to a new line.
Solution
Use the "Mouse Click", "Press and Hold", "Text Input", "Release key", "Key Press" actions.
Implementation
- Assemble a robot scheme with the actions:
- Set the "Mouse click" action parameters.
To fill in the "Coordinates" field click on the three dots button, then on the , in the opened window click the PickArea button and with the Shift key pressed set the coordinates of the element to click. - Set the "Press and Hold" action parameters.
- Set the "Text Input" action parameters.
- Set the "Release Key" action parameters.
- Set the "Key Press" action parameters.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully.
The required value is written in the Notepad
...
Результат:
Программный робот отработал успешно.
Требуемое значение записано в блокнот.