Description

Copies highlighted text unto the Clipboard.



Attributes

Output

  • Result - The copied selected text.

Input

  • TimeoutMS - Duration in milliseconds to send an error if the selected element is not located.

Common

  • ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.

Misc

  • DisplayName - Renames the activity.


Example

  1. Create a String variable called text.
  2. Add a Copy Selected Text activity inside the initial Sequence.
  3. In the Copy Selected Text Output field under Attributes, add the text variable.
  4. After the Copy Selected Text activity, add a Write Line activity.
  5. In the Write Line Text field, write the text variable. This displays the text highlighted and copied text by the user.

    The use case should look as the following screenshot:



The output should be the text highlighted and copied by the user. In this example, the output looks like this in the Output panel: