---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the ActionSet GetText action

# Use the ActionSet GetText action {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Capture text from the Windows applications, and web pages on the
Internet Explorer browser by using the Get 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](https://www.servicenow.com/docs/wibpGKDGK7_KKrKJ81R~aQ "The ActionSet component lets an automation interact with Windows applications (such as web browsers) and with Citrix applications. Using this single component in RPA Desktop Design Studio, you can click, drag, read and set text, interact with tables, and more, combining several user actions into a single task.").

Role required: none

## About this task

The ActionSet Get Text action captures text from an area that you specify in the ActionSet Settings window. You can use it to receive text in the target area when it is in text format. To capture text from an image, see [Use the ActionSet OCR Read Text action](https://www.servicenow.com/docs/hx8ZWSXI7aZI5_8h62cX4g "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.").

You can configure the properties for the GetText component. For more information
about these properties, see [ActionSet-Get Text properties](https://www.servicenow.com/docs/D8KHPAi6Pv2rnwN15jo0kg#actionset-actions-properties__ActionSet-GetText).

## Procedure

1. Right-click the anchor.  
   To learn about the anchor, see how to use the [Anchor](https://www.servicenow.com/docs/aIVkN_YpZS9zVpQGAFOdlg "An anchor is a unique identifier which is identified on the screen. It helps specify the target area for a simulated user interaction by defining a static area from which actions can be defined at a relative distance. The position of actions is calculated based on the anchor and the actions are performed relative to it.").
2. Click Get Text.
3. Drag the green plus icon (![Green plus icon.]()) to the field where you want to capture text.
4. **Optional:** In the Properties pane of the ActionSet Settings window, configure the properties of the Get Text action.  
   For example, you can set a delay or change the name of the action.
5. Close the ACTIONSET SETTINGS window.
6. **Optional:** If you didn't hide the port for the GetText parameter in Step 4, connect the port so the action can transmit the captured text for use.  
   The GetText parameter is described in the following table.
   {#use-actionset-get-text__table_jnw_jn1_krb__entry__4}

   | Port type | Port name | Data type | Purpose of connection |
   |-|-|-|-|
   | Data out | Get Text | String | Sends the captured text to another component. |
   [ ]

   {#use-actionset-get-text__table_jnw_jn1_krb}
7. **Optional:** To test the component, right-click the component bar and then click Run From Here.

