Get details of window Action(Power Automate Desktop)

Japanese version.

This action retrieves information about the specified window.

The following information can be obtained.

  • Title
  • Text
  • Location and size
  • Process name

All of this information can be used for various purposes, However, Text is difficult to use only for windows with a simple structure, because it acquires all characters in the window.

How to use

From "Actions", "UI Automation", "Data extraction", Drag "Get details of window".

Set parameters.



Specifies the window from which to obtain information.

The following pops up when you click on the input field.

If you have already registered a UI element, select the object,If not registered, click the "Add UI element" button.

Hover the mouse over the menu item you wish to select when the next window appears.

When you hover the mouse over it, it will be surrounded by a red frame.

Then hold down the Ctrl key and click.

The input field should appear as shown in the following figure (the text will vary depending on the UI element you have selected).

Window property

Select which information is to be retrieved from the window.

  • Get window title
  • Get window text
  • Get window location and size
  • Get process name

Variables produced


The specified information is stored. Below is an example of a "Sound" result.

Get window title
Get window text

All text information, including buttons, etc., is obtained in a line-separated format.

Since the result can be messy, it is most likely to be used in a simple window such as a dialog or cut out with "Get subtext".

Get window location and size

The following comma-separated values are obtained: "horizontal position, vertical position, width, height".

You will often use "Split text" for comma delimitation.

Example of "Split text" setting.

To use individual information, specify the following.

Horizontal position%TextList[0]%
Vertical position%TextList[1]%

Since the individual information is text, it cannot be used in calculations as is.

If you wish to use the information for calculation, convert it to numerical values using "Convert text to number".

Get process name

For those who want to learn Power Automate Desktop effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.

Table of Contents.

Update History.


UI automation Actions