Use the ActionSet OCR Read Text action

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • Extract text from images in the desktop, Windows applications, and the Internet Explorer browser by using the OCR Read Text action in RPA Desktop Design Studio.

    Before you begin

    Capture an image of the target application window and create an anchor. For information about how to do this, see Use the ActionSet component.

    Role required: none

    About this task

    The ActionSet OCR (optical character recognition) Read Text action can capture text from images and return it in standard text format.

    You can configure the properties for the OCR Read Text component. For more information about these properties, see ActionSet OCR Read Text properties.

    Procedure

    1. Right-click the anchor.
      To know about the anchor, see how to use the Anchor.
    2. Navigate to OCR > Read Text.
    3. Drag the green rectangle icon (Green rectangle icon.) over the area that contains the text that you want to capture.
      If necessary, adjust the size of the selection rectangle by dragging its edges.
    4. Optional: In the Properties pane of the ActionSet Settings window, configure the properties of the OCR Read Text action.
      In addition to properties that are common to all ActionSet actions, including the option to set a delay before or after performing the action, several properties let you improve text recognition by adjusting or scaling the captured image, or by setting the options of the text recognition engine.
    5. Optional: To change the area in the image covered by the green rectangle icon (Green rectangle icon.), do the following steps.
      1. Place the mouse device along the edges of the green rectangle icon (Green rectangle icon.).
        The mouse device turns into a two-sided arrow (Two-sided arrow).
      2. Drag the edges of the green rectangle icon (Green rectangle icon.).
    6. Close the ACTIONSET SETTINGS window.
    7. Optional: If you didn’t hide the port for the OCR parameter in step 4, connect the port so the action can send the extracted text for use.

      The OCR parameter is described in the following table.

      Port type Port name Data type Purpose of connection
      Data out OCR String Returns the text from the image.
    8. Optional: To test the component, right-click the component bar and then click Run From Here.