UiPath Activities

The UiPath Activities Guide

Keyboard Shortcuts

×

UiPath.UIAutomationNext.Activities.NKeyboardShortcuts

Description

Sends one or more keyboard shortcuts to a UI element. This activity must be added inside a Use Application/Browser activity.

Recording Keyboard Shortcuts

Click Record shortcut, and then press the key combination to send to the target element on your keyboard. The recorded shortcut is displayed in the body of the activity. After you record a shortcut:

  • To add more shortcuts, click Record shortcut again and press the desired key or keys on your keyboard. The shortcuts are sent in the order in which they appear in the body of the activity.
  • To change the order in which the recorded shortcuts are sent, drag and drop the recorded keys to change their position in the body of the activity.
  • To remove an added shortcut, click Remove Remove Key.

Properties

Common

  • Continue on error - If selected, the automation continues even when the activity throws an error. If not selected, the execution of the project stops when an error is thrown. This option is not selected by default.
  • Delay after - Delay (in seconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 0.3 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
  • Delay before - Delay (in seconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 0.2 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
  • DisplayName - The name displayed for the activity in the Designer panel. A display name is automatically generated when you indicate a target.
  • Timeout - Specify a number of seconds for which to wait for the activity to be executed before throwing an error. The default value is 30 seconds.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Options

  • Activate - If selected, the target UI element is brought to the foreground and activated before sending the shortcuts. This option is selected by default.
  • Click before typing - Select whether to click the specified UI element before sending the shortcuts. The options are None (do not click), Single (execute a single click), or Double (execute a double click).
  • Delay between shortcuts - Delay (in seconds) between consecutive keyboard shortcuts. The default value is 0.5 seconds.
×

UiPath.UIAutomationNext.Activities.NKeyboardShortcuts

Description

Sends one or more keyboard shortcuts to a UI element. This activity must be added inside a Use Application/Browser activity.

To learn how to use this activity, see Tutorial: Filling Out PDF Forms in Acrobat Reader with Data from Excel.

Configuring the Activity

In the Body of the Activity

  • Select Options button > Indicate target on screen to indicate the UI element where to send the keyboard shortcuts. If no target element is indicated, the shortcuts are sent to the parent application/browser.
  • Click Record shortcut, and then press the key combination to send to the target element on your keyboard. The recorded shortcut is displayed in the body of the activity.
  • After you record a shortcut:
    • To add more shortcuts, click Record shortcut again and press the desired key or keys on your keyboard. The shortcuts are sent in the order in which they appear in the body of the activity.
    • To change the order in which the recorded shortcuts are sent, drag and drop the recorded keys to change their position in the body of the activity.
    • To remove an added shortcut,click Remove Remove Key.
  • To configure the target after indicating it, click Menu Options button to access the following options:
    • Indicate target on screen - Indicate the target again.
    • Edit Target - Open the selection mode to configure the target.

For more information about indicating and configuring targets, see About the UIAutomationNext Activities Pack.

In the Properties Panel

Common

  • Continue on error - If selected, the automation continues even when the activity throws an error. If not selected, the execution of the project stops when an error is thrown. This option is not selected by default.
  • Delay after - Delay (in seconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 0.3 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
  • Delay before - Delay (in seconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 0.2 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
  • DisplayName - The name displayed for the activity in the Designer panel. A display name is automatically generated when you indicate a target.
  • Timeout - Specify a number of seconds for which to wait for the activity to be executed before throwing an error. The default value is 30 seconds.

Misc

  • Private - If selected, the data used by the activity is not saved to the StudioX logs when the project is executed.

Options

  • Activate - If selected, the target UI element is brought to the foreground and activated before sending the shortcut. This option is selected by default.
  • Click before typing - Select whether to click the specified UI element before sending the shortcuts. The options are None (do not click), Single (execute a single click), or Double (execute a double click).
  • Delay between shortcuts - Delay (in seconds) between consecutive keyboard shortcuts. The default value is 0.5 seconds.

Updated 10 days ago


Keyboard Shortcuts


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.