Subscribe

UiPath StudioX

The UiPath StudioX Guide

Type Into

UiPath.UIAutomationX.Activities.TypeInto

Enters text in a specified UI element, for example a text box. If you specify the text to enter using the Text Builder, you can also send special keys like Tab or Enter to the UI element. Must be added inside an Application Card activity.

To learn how to use this activity, see Tutorial: Working with UI Automation.

In the Body of the Activity

  • Indicate Target - Click to indicate where you want to enter the text by moving the mouse to the UI element and clicking it.
  • Type this - Click plus button on the right side of the field, and then use one of the options in the menu to select the text to enter:
    • Data from an application added to a card in the project or from the Excel Workspace. For example, you can select a cell in an Excel file, or a field from the email selected in Outlook when the project is executed.
    • Text - Enter text in the Text Builder. You can also add special keys or data from cards added to the project using the plus button menu inside the Text Builder. Any combination of text, data from cards, and special keys is supported.
    • Open in Advanced Editor - Enter a VB expression.
  • After you indicate the target, click the Options Options button button and then select one of the available options to further configure your target.
    • Indicate Target - indicate the target again.
    • Configure Target - Configure advanced options for the target.
    • Highlight Target - see the currently selected target surrounded in a box.

Properties

Common

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
  • Delay After - Delay (in milliseconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 300 milliseconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
  • Delay Before - Delay (in milliseconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 200 milliseconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
  • Display Name - The name displayed for the activity in the Designer panel. A display name is automatically generated when you indicate a target.

Input

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 specified UI element is brought to the foreground and activated before the text is typed in.

📘

Note:

If the Activate Before check box is not selected, the activity will type into the current active window.

  • Click Before Typing - If selected, the specified UI element is clicked before the text is typed in.
  • Delay Between Keys - Delay (in milliseconds) between consecutive keystrokes. The default value is 10 milliseconds. The maximum value is 1000 milliseconds.
  • Empty Field - If selected, all existing content in the UI element is deleted before your text is typed in.
  • Input Mode - Select how to execute the type:
    • Same as Card - Use the same input mode as the Application Card. This is the default selection.
    • Window Messages - Sends a specific message to the target application. This input method can work in the background, is compatible with most desktop apps, but it is not the fastest of the methods.
    • Hardware Events - Simulates the keystrokes by using the hardware driver. This is the slowest method, it cannot work in the background, but it is compatible with all desktop apps.
    • Simulate - Simulates the type using the technology of the target application. This input method is the fastest of the three and works in the background.

Updated 2 years ago


Type Into


Suggested Edits are limited on API Reference Pages

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