Skip to end of metadata
Go to start of metadata

The Keyboard action group is intended for entering text and typing key combinations using the keyboard. The Enter Keystrokes action is automatically recorded when you type something during the recording process.

You can add the Enter Keystrokes actions manually when editing a recording by dragging it from Actions Library to Actions Flow.

Actions LibraryAction Description

There are three ways of using the Enter Keystrokes action.

  • Key combination (e.g., 'CTRL + HOME')
  • Type text (e.g., 'Some input text string that cannot be changed at run-time')
  • Text from variable (e.g., ${currentState}– dynamical value)

Before using the Enter Keystrokes action, you have to switch to the window you need to type the text. Using the Window action, a bot switches to the specified window and ignores any random popups.

Make sure that the Enter Keystrokes actions are nested underneath the actions they belong to.

When typing in the web, it is recommended to use the Window action before Switch to browser, as this moves the focus from a desktop application to a browser window, thus allowing keystrokes to work in the browser.

Mind that the Switch to browser action is used only if the Open Website action has already been added to the flow.

If using Windows global shortcuts, e.g., 'Win + R', 'Win + S', etc, make sure to switch to the Windows Desktop window (Program Manager) beforehand. Use the Window action and then enter a needed key combination via Enter Keystrokes.

Key Combination

key combination is the use of two or more keys on a keyboard to generate a specific result. These keys are pressed either at the same time, or one after the other while holding down each key until the last key is pressed.

Many key combinations are also considered shortcuts to performing various actions within the operating system or a software program.

Some of the common key combinations include:

  • CTRL + S – save currently open file
  • CTRL + C – copy highlighted text or an image
  • CTRL + V – paste text or an image
  • CTRL + A – select all text and images (everything) in the current, active application

Key combinations are automatically captured and saved during the recording process, if you want to edit or create one from scratch, do the following.

  1. Select the Key combination option.
  2. Click the Change button.
  3. Enter the key combination using your keyboard – it should appear in the Edit Keystrokes window.
  4. Click the Save button.

For key combinations in Windows and Windows applications and utilities, see Using Keyboard Shortcuts for Automation.

Type Text

If you want the RPA Recorder bot to enter some unchangeable text, perform the following actions.

  1. Select the Type text option.
  2. Enter the text into the field below.

Hint

To type text, you can use Recorder variables even with combination of text entered directly in the input field, e.g., New File ${recorder_variable_string}

Text from Variable

If you want the RPA Recorder bot to enter some dynamic text from a variable, do as follows.

  1. Select the Text from variable option.
  2. Pick the right variable from the Variable name list.

To speed up the script execution, use the Clipboard action and the Ctrl+V key combination instead of Enter Keystrokes.

  • No labels