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

Ключ

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

...

Key press Version 9 (Рython)

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

Описание 

Действие эмулирует нажатие горячих клавиш. Горячие клавиши — это комбинации на клавиатуре, которые выполняют определенные команды.

...

Action group: Simulate system

...

Description 

The action simulates hotkeys press. Hotkeys are combinations on a keyboard that follow certain commands. 

Action icon  

...

Action parameters

Поле The "КлавишиKeys" - указывает комбинацию клавиш, которая будет выполняться.

Поле "Язык клавиш" - указывает раскладку, по которой будет происходить нажатие клавиш. Доступные языки: Русский язык, Английский язык.

Поле "Количество" - указывает количество нажатий комбинации из поля "Клавиши".

Поле "Задержка" - указывает время ожидания между зажатием отдельных клавиш и комбинаций в миллисекундах. 

...

field - key or combination of keys to press. The key combination is indicated via «+».

The "Keyboard language" field - the keyboard layout language in which the specified key or combination of keys will be entered. Supported languages: Russian, English. 

The "Number" field - number of clicks of the combination from the «Keys» field.

The "Delay" field - time between pressing the combination of the field «Keys». Specified in milliseconds.

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
KeysKey or combination of keys to press. The key combination is indicated via «+».Robin.HotKeys
Yes
NumberNumber of clicks of the combination from the «Keys» field.Robin.Numeric
No
DelayTime between pressing the combination of the field «Keys». Specified in milliseconds.Robin.Numeric
No
Keyboard languageThe keyboard layout language in which the specified key or combination of keys will be entered.Robin.String
Yes

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

Special conditions of use

  • The action is not intended for text input, so its functionality is limited. Use the "Enter Text" action to enter text or required characters.
  • The action does not work with the following keys
  • Действие не предназначено для ввода текста, поэтому его функционал ограничен. Для ввода текста или необходимых символов предполагается использовать действие "Ввод текста".
  • Действие не работает со следующими клавишами: capslk, break, scrlk, prtsc, win, menu, numlk, fn.
  • Для добавления дополнительных комбинаций клавиш необходимо нажать на знак плюсаTo add additional key combinations, click on the plus sign
  • Количество дополнительных комбинаций неограниченноThe number of additional combinations is unlimited.
  • Для удаления параметров дополнительных комбинация необходимо нажать на знак корзины:
    Image Removed

Пример использования действия: 

Задача: необходимо создать копию файла с помощью горячих клавиш.

Image Removed

  • To delete the additional combinations' parameters click on the trash bin sign.
    Image Added

Example of use: 

Task

Make a copy of the file using hotkeys. 

Image Added

Solution

Use the Решение: воспользоваться действием "Mouse click", "Key pressPress" actions.

РеализацияImplementation:

  1. Assemble a robot scheme with actions: Собрать робота, состоящего из действий:

  2. Настроить параметры действия "Клик мышью"Set the "Mouse click" action parameters

    Для заполнения поля "Координаты" необходимо нажать на кнопку в виде трех точек, далее на кнопку Image Removed,  в появившемся окне необходимо нажать на кнопку PickArea и с зажатой клавишей Shift указать координаты папки, копию которой необходимо создать.
    Image RemovedTo fill in the "Coordinates" field click on the three dots button, then on the Image Added button,  in the opened window click the PickArea button and with the Shift key pressed, specify the coordinates of the folder you want to create a copy of.
    Image Added
  3. Set the parameters for the "Key Press" action. Required hotkeysНастроить параметры для действия "Нажатие клавиш". Необходимые горячие клавиши: Ctrl + C, Ctrl + V.
  4. Нажать на кнопку Click "Старт" в верхней панели.Start" in the top panel. 


Result: 
The program robot completed successfully.
Image Added

A copy of the "Test" folder was created in the workspaceРезультат: 
Программный робот отработал успешно. 
Image RemovedНа рабочем столе создана копия папки "Задания"