Release key Version 3 (Рython)

Action group: Simulate system


Description

The action simulates the release of the key hold.

Action icon


Parameters

Input parameters  

Key - name of the key. If more than one key is specified, the first key will be selected

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
KeyName of the key. If multiple keys are specified, only the first one will be selected.Robin.HotKeys
Yes

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", "Key press and hold", "Keyboard input", "Release key", "Key press" actions. 

Implementation

  1. Assemble a robot scheme with the 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 set the coordinates of the element to click.  
  3. Set the "Key press and hold" action parameters. 
  4. Set the "Keyboard input" action parameters. 

  5. Set the "Release key" action parameters. 
  6. Set the "Key press" action parameters. 
  7. Click on the "Start" button in the top panel. 

Result 

The program robot completed successfully. 


The required value is written in the Notepad. 



  • Нет меток