UiPath Activities Guide

CV Get Text

UiPath.CV.Activities.CVGetText

Extracts the text from a specified UI element by using the UiPath Computer Vision neural network.

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.

Note:

If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

  • DelayAfter - Delay time (in milliseconds) after executing the activity.
  • DelayBefore - Delay time (in milliseconds) before the activity begins performing any operations.
  • DisplayName - The display name of the activity.

Input

  • Area - The area from which you want to extract the text, stored in a Rectangle variable. This field supports only Rectangle variables.
  • TargetType - The type of the UI element you want to extract the text from. The following options are available: Button, ImageBox, CheckBox, RadioButton, CloseButton, MaximizeButton, Minimize Button, Icon, ArrowButton, Text, Area.
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).
  • UseClipboard - Copies text by using the clipboard. This simulates a copy/paste action and can only be used on selectable text, on either local or remote sessions. This drop-down has four options: None - does not use the clipboard, Word - only returns one word, Row - returns the entire row, All - returns the entire text.

Misc

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

Output

  • Result - The retrieved UI element, stored in an UiElement variable. This field supports only UiElement variables.

Reusable Region

  • InputRegion - Receives the target of another CV activity stored in a Rectangle variable, using it as a target for this activity. This enables you to pass the same target from one activity to another. Especially useful at design time, as it makes performing multiple actions on the same UI element easier. If a variable is set to this field, the current target and anchor elements of the activity are disabled. This field supports only Rectangle variables.
  • OutputRegion - Saves the target of this activity as a Rectangle variable. This enables you to pass the same target from one activity to another. Especially useful at design time, as it makes performing multiple actions on the same UI element easier.

CV Get Text


Suggested Edits are limited on API Reference Pages

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