select text.md

Select Text

The Select text building block searches for a piece of text on the entire screen or within a defined Area, and then selects it with the mouse cursor. It is commonly used when you need to select text before copying it to the clipboard or using it in later steps.

See the Capture text on screen lesson for examples of how to use the Select text block.

Fully expanded, the Select text block shows the following properties:

Note: The screenshot on this page uses the Elegance Design , introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Select text onto the canvas.
  2. Connect the block in the flow and specify Text to select. Optionally set Language, define an Area (or leave it empty to search the whole screen), set Speed, and adjust OCR, occurrence, scrolling, and timeout-related settings if needed.
  3. Run the flow when it's ready.

Building block parameters

Parameters

Note that this position is the middle of the found text , not the upper-leftmost pixel of the text. Use the expander to work with X and Y separately.

Note: All cases have a global timeout configured in the Settings panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.