# UI inspector

To study the interface structure of Windows desktop applications, Astro Studio has the UI Inspector panel. To start working, you should click the "Update the Tree" button ![](/files/eCJBoQu3zwaIEfGfx8cM). After clicking the button, the inspector will start to inspect all running applications and display the application structures that have a graphical interface. The left part of the panel displays the control tree.

![](/files/iAyyGTZm77HQtH7EA5OB)

When a controller is selected, its attributes will be displayed on the right side of the screen.

![](/files/iBOvJUmjgtDhCgH4juXf)

This information is convenient to use when building templates for searching for elements of desktop applications.

"Refresh tree (10s pause)" button ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-M-L9CGkriEo1_2PfJzA%2F-M-fWe6B8c1_AR8PDcxp%2F-M-fXuGifejSF8xWgqer%2FbtnRefreshWait.png?alt=media\&token=215b84ca-ab6a-4265-b94c-e76ef7a68f66) updates the information about controllers with delay of 10 seconds. This function is used to get the main and context menues.

"Copy search pattern" button ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-M-L9CGkriEo1_2PfJzA%2F-M-fXwi4j8foQPkn5UTH%2F-M-fYb1G9XpW4Ux2wtkD%2FbtnCopy.png?alt=media\&token=7e7853ca-f795-47a6-8c13-ef583f6eebc4) copies the search pattern of selected element to the clipboard.

"Add search pattern" button![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-M-L9CGkriEo1_2PfJzA%2F-M-fXwi4j8foQPkn5UTH%2F-M-fYf-PnMsH5Ky_XTR5%2FbtnSendPattern.png?alt=media\&token=c84bf794-aa48-407e-b1e8-6bad7afbc5e5) adds a new search bar to the current pattern.

"Add attribute" button![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-M-L9CGkriEo1_2PfJzA%2F-M-fXwi4j8foQPkn5UTH%2F-M-fYhhzTDyMa6KBxin0%2FbtnSendProperty.png?alt=media\&token=b4d66602-d7cd-498e-bfaa-8f27ac474fad) moves the selected attribute to the current search pattern.‌

"Search" button![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-M-L9CGkriEo1_2PfJzA%2F-M-fXwi4j8foQPkn5UTH%2F-M-fYkcklBSwzNqBIvFW%2FbtnSearch.png?alt=media\&token=b2c0e724-7db6-43b0-9234-0affd11deea3) searches for the entered information in the component tree, starting with the selected element.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://astro-rpa.gitbook.io/astro-rpa-user-guide/astro-studio/uiexplorer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
