Use the ActionSet Text Selection action

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Select, copy, or delete text from the Desktop and Windows applications, and the Internet Explorer browser by using the Text Selection action in RPA Desktop Design Studio.

    Avant de commencer

    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

    Pourquoi et quand exécuter cette tâche

    In addition to selecting text, the ActionSet Text Selection action can copy or delete text in a targeted application window. You can also set the action to trim leading or trailing white space from the captured text.

    You can configure the properties for the Text Selection component. For more information about these properties, see ActionSet Text Selection- Properties.

    Procédure

    1. Right-click the anchor.
      To learn about the anchor, see how to use the Anchor.
    2. Click Text Selection.
    3. Drag the green rectangle icon (Green rectangle icon.) over the area that contains the text that you want to select, copy, or delete.
    4. Facultatif : To increase or decrease the area on the captured image covered by the green rectangle icon (Green rectangle icon.), drag its edges.
    5. Facultatif : In the Properties pane, select Copy or Delete from the Type list in the General section.
      For example, you can set a delay or change the nature of the action. By default, the action selects text.
    6. Close the ACTIONSET SETTINGS window.
    7. Facultatif : If you didn’t hide the port for the TextSelection parameter in Step 4, connect the port so the action can send the captured text for use.

      The TextSelection parameter is described in the following table.

      Port type Port name Data type Purpose of connection
      Data Out TextSelection String Sends the captured text to another component.
    8. Facultatif : To test the component, right-click the component bar and then click Run From Here.