> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/automation/vision/get-text-position.md).

# Get Text Position

Gets the screen positions of a specified text on the screen.

This activity is used to search for a specific text on the screen and retrieve the screen positions as result.

### Input

* **Search Text:** [`String Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments) <mark style="color:red;">`Required`</mark>\
  Specifies the string to search for.
* **Occurrences:** [`Integer Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments) <mark style="color:red;">`Required`</mark>\
  Specifies the number of occurrences of the specified text that are required to be found in a case where the given text appears multiple times in the given UI Element.

### Configure

#### OCR Options

* **Crop Region:**\
  Specifies the region on the document to apply the OCR.
* **Intermediate Save Path:**\
  Specifies the location where intermediate files are stored. If not specified files will be stored in the Windows Temp folder.
* **Language:**\
  Specifies the text language present in the document.
* **Profile:**\
  Specifies a set of optimized preprocessing steps for a given task. By default, the value is set to SceenScrape.
* **Save Intermediate Files?:**\
  If set to **True** all intermediate images created during preprocessing will be saved to disk.
* **Timeout:**\
  Specifies the timeout in milliseconds to wait for the OCR operation to complete.

#### Timeout

Specifies the amount of time (in milliseconds) to wait until the specified element is found. By default, the value is set to 1000 milliseconds (10 sec)

### Output

* **Elements:** [`Object Variable`](/getting-started/rpa-studio/variables/user-defined-variables-1.md#object)\
  Specifies the Ui Element(s) where the specified search text is located

####
