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  

Parameters

Input parameters

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

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

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

"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

Example of use 

Task

Make a copy of the file using hotkeys. 

Solution

Use the "Mouse click", "Key press" actions.

Implementation:

  1. Assemble a robot scheme with actions: 

  2. Set the "Mouse click" action parameters. 

    To fill in the "Coordinates" field click on the three dots button, then on the  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.
  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.

A copy of the "Test" folder was created in the workspace.