You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/desktop-flows/console.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: mattp123
5
5
ms.service: power-automate
6
6
ms.subservice: desktop-flow
7
7
ms.topic: article
8
-
ms.date: 04/11/2025
8
+
ms.date: 05/22/2025
9
9
ms.author: iomavrid
10
10
ms.reviewer: matp
11
11
contributors:
@@ -98,8 +98,15 @@ Additionally, the **Run URL** lets you run the flow through various sources, suc
98
98
99
99
:::image type="content" source="media/console/desktop-flow-details-properties.png" alt-text="Screenshot of the details of a desktop flow.":::
100
100
101
-
## Generate flow description using Copilot
101
+
### Change the screen resolution settings of a desktop flow for unattended runs
102
+
103
+
To set the screen resolution for unattended runs, open the desktop flow’s details and select **Edit**. In the Flow properties panel, turn on the **Display resolution for unattended runs** setting. Choose a resolution from the drop-down list or enter a specific resolution manually.
102
104
105
+
> [!IMPORTANT]
106
+
> - If the **Display resolution for unattended runs** setting is on and the desktop flow calls other desktop flows, all flows run using the resolution set in the parent flow. Make sure this resolution works for all flows to avoid issues.
107
+
> - If you're using the [Reuse Windows session for unattended runs](run-unattended-desktop-flows.md#reuse-a-windows-session-in-unattended-mode) feature, the selected resolution applies to the reused session too.
108
+
109
+
## Generate flow description using Copilot
103
110
104
111
Generate a flow description for flows you own or co-own by pressing a button. Copilot analyzes the flow and generates a description. This feature is also available from the flow details in make.powerautomate.com. More information: [Manage desktop flows](manage.md)
Copy file name to clipboardExpand all lines: articles/desktop-flows/manage.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: mattp123
5
5
ms.service: power-automate
6
6
ms.subservice: desktop-flow
7
7
ms.topic: how-to
8
-
ms.date: 02/21/2025
8
+
ms.date: 05/22/2025
9
9
ms.author: appapaio
10
10
ms.reviewer: matp
11
11
contributor: yiannismavridis
@@ -48,6 +48,14 @@ Follow these steps to see the details for a desktop flow:
48
48
49
49
:::image type="content" source="media/manage-desktop-flows/view-details.png" alt-text="Screenshot of the details of a desktop flow.":::
50
50
51
+
### Change the screen resolution settings of a desktop flow for unattended runs
52
+
53
+
To set the screen resolution for unattended runs, open the desktop flow’s details and select **Edit**. In the Flow properties panel, turn on the **Display resolution for unattended runs** setting. Choose a resolution from the drop-down list or enter a specific resolution manually.
54
+
55
+
> [!IMPORTANT]
56
+
> - If the **Display resolution for unattended runs** setting is on and the desktop flow calls other desktop flows, all flows run using the resolution set in the parent flow. Make sure this resolution works for all flows to avoid issues.
57
+
> - If you're using the [Reuse Windows session for unattended runs](run-unattended-desktop-flows.md#reuse-a-windows-session-in-unattended-mode) feature, the selected resolution applies to the reused session too.
58
+
51
59
## Generate flow description using Copilot (preview)
@@ -111,13 +119,13 @@ Follow these steps to share a desktop flow:
111
119
> [!NOTE]
112
120
>
113
121
> You can also enter a Microsoft Dataverse team name instead of the name of the person. If you want to share with a Microsoft Entra group, you first need to create a Microsoft Entra Group team in Dataverse based on the Microsoft Entra Group. More information: [Microsoft Dataverse teams management](/power-platform/admin/manage-teams)
114
-
115
-
5. Select the user and then select either **User** or **Co-owner** as the permission for the person with whom you share the flow.
122
+
123
+
1. Select the user and then select either **User** or **Co-owner** as the permission for the person with whom you share the flow.
116
124
117
125
-**Co-owner**: This access level gives the co-owner full permissions to the desktop flow. They can edit, share, and delete the desktop flow.
118
126
-**User**: This access level gives permission to only use that desktop flow in a cloud flow and run it locally with Power Automate for desktop. No edit, rename, delete, or share permissions are possible with this access. Alternatively, those users can create a copy of the desktop flow using the **Save as** option, and work independently.
119
127
120
-
6. Select **Save**.
128
+
1. Select **Save**.
121
129
122
130
:::image type="content" source="media/manage-desktop-flows/sharing-ux.png" alt-text="Screenshot of the Share button.":::
Copy file name to clipboardExpand all lines: articles/desktop-flows/recording-flow.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: mattp123
5
5
ms.service: power-automate
6
6
ms.subservice: desktop-flow
7
7
ms.topic: how-to
8
-
ms.date: 09/27/2022
8
+
ms.date: 05/23/2025
9
9
ms.author: matp
10
10
ms.reviewer: matp
11
11
contributors:
@@ -51,6 +51,20 @@ To pause the recording process temporarily, select **Pause**. To add a comment t
51
51
52
52

53
53
54
+
### Choosing different capturing modes when recording desktop applications
55
+
56
+
The recorder now supports capturing both UI Automation (UIA) and Microsoft Active Accessibility (MSAA) selectors. Choose the appropriate selector type based on the application you're automating. Open the Capturing mode menu in the recorder, and select either UIA or MSAA.
57
+
58
+

59
+
60
+
-**UI Automation (UIA)** is the modern accessibility framework from Microsoft that replaces MSAA. It's the recommended technology for automating most Windows applications, especially those built with newer UI frameworks like WPF, WinForms, and Universal Windows Platform (UWP). UIA gives more detailed element information, improved hierarchy structures, and greater reliability in automation scenarios.
61
+
62
+
Use UIA capturing mode whenever possible for better performance, maintainability, and support across modern desktop applications.
63
+
64
+
-**Microsoft Active Accessibility (MSAA)** is an older accessibility technology that comes before UIA. It's mainly used for legacy applications that don't expose UIA elements, like older Windows applications built with VB6 or classic Win32. MSAA gives less detail and structure than UIA, but it's essential for automation in environments where UIA isn't available.
65
+
66
+
Use MSAA capturing mode when targeting legacy or custom-built applications that don't expose their UI components through UIA.
67
+
54
68
### Replicate drag and drop steps
55
69
56
70
The recorder supports steps related to dragging and dropping the mouse pointer; therefore, the recorder can generate actions like the **Resize window** and **Move window**. Currently, however, the **Drag and drop UI element of a window** action isn't supported.
@@ -73,7 +87,7 @@ The first method is to select the dots icon on the right side of the recorder di
73
87
74
88
After you've selected the proper browser, the recorder will detect the loaded web page automatically and configure the launching browsing step accordingly.
75
89
76
-

90
+

77
91
78
92
An alternative way to launch a browser is to start recording in an already open web browser. The recorder will automatically detect the loaded page and will create a launching browser action.
Copy file name to clipboardExpand all lines: articles/desktop-flows/ui-elements.md
+23-6Lines changed: 23 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: mattp123
5
5
ms.service: power-automate
6
6
ms.subservice: desktop-flow
7
7
ms.topic: article
8
-
ms.date: 12/20/2023
8
+
ms.date: 05/23/2025
9
9
ms.author: nimoutzo
10
10
ms.reviewer: matp
11
11
contributors:
@@ -32,6 +32,9 @@ To add a new UI element to your flow, add a new UI element through an action or
32
32
33
33
:::image type="content" source="media/ui-elements/capturing-ui-elements.png" alt-text="Screenshot of a highlighted element.":::
34
34
35
+
> [!NOTE]
36
+
> The UI element picker now supports capturing both UI Automation (UIA) and Microsoft Active Accessibility (MSAA) selectors when working with desktop UI elements. By default, the picker operates in UIA mode. You can change the capturing mode using the menu located in the top-right corner of the UI element picker. Select MSAA to target legacy applications that don't expose UIA selectors. When MSAA mode is enabled, a banner appears in the UI element picker to indicate that you're capturing MSAA selectors. Learn more about the difference between UIA and MSAA selectors in [UI elements types](#ui-elements-types).
37
+
35
38
Any captured UI elements will be added to the UI elements pane. To access the UI elements pane, select the UI elements tab on the right-hand side of the flow designer.
36
39
37
40
:::image type="content" source="media/ui-elements/ui-elements-tab.png" alt-text="Screenshot of the UI elements tab.":::
@@ -48,9 +51,23 @@ To find where a specific UI element is being used in the flow, right-click on it
48
51
49
52
Desktop flows support two types of UI elements based on their source: desktop UI elements and web UI elements.
50
53
51
-
Desktop UI elements can be captured from any Windows application, including the nonwebpage part of browsers, such as the address bar.
54
+
Desktop UI elements can be captured from any Windows application, including non-webpage components of browsers, such as the address bar. Within desktop UI elements, two types of selectors are now supported:
55
+
56
+
-**UI Automation (UIA) selectors**
57
+
58
+
UIA is the modern accessibility framework introduced by Microsoft to replace MSAA. It's the recommended technology for automating most Windows applications, especially those built with newer UI frameworks such as WPF, WinForms, and Universal Windows Platform (UWP). UIA offers more robust and detailed element information, improved hierarchy structures, and greater reliability in automation scenarios.
59
+
60
+
Use UIA selectors whenever possible for better performance, maintainability, and support across modern desktop applications.
61
+
62
+
-**Microsoft Active Accessibility (MSAA) selectors**
63
+
64
+
MSAA is an older accessibility technology that predates UIA. It's primarily used for legacy applications that don't expose UIA elements, such as older Windows applications built with technologies like VB6 or classic Win32. While MSAA provides less detail and structure than UIA, it's essential for enabling automation in environments where UIA isn't available.
65
+
66
+
Use MSAA selectors when targeting legacy or custom-built applications that don't expose their UI components through UIA.
67
+
68
+
The UI element picker in UI automation actions allows you to capture only desktop UI elements. A new capturing mode menu in the top-right corner of the picker lets you select between UIA and MSAA modes. By default, the picker uses UIA, but you can switch to MSAA when automating legacy applications. A visible message in the picker indicates when MSAA mode is active.
52
69
53
-
You can use these UI elements as input in UI automation actions to indicate the component you want to interact with. The UI element picker of UI automation actions displays and allows you to capture only desktop UI elements.
70
+
Captured elements are displayed in the UI elements pane, with an indicator showing whether they were captured using UIA or MSAA, helping you identify the selector type used for each element in your flow.
54
71
55
72
> [!IMPORTANT]
56
73
> Users can capture elements from webpages through the UI element picker of UI automation actions. However, their selectors will represent desktop elements, not web elements.
@@ -67,11 +84,11 @@ To capture a UI element from a webpage, you need to install the appropriate brow
67
84
68
85
### Distinguish desktop from web UI elements
69
86
70
-
The UI elements pane displays distinctive visual indications to help users quickly recognize desktop and web UI elements.
87
+
The UI elements pane shows distinctive visual indications to help users quickly recognize between desktop and web UI elements.
71
88
72
-
:::image type="content" source="media/ui-elements/ui-element-type-visual-indication.png" alt-text="Screenshot of the UI element type visual indications in the UI element pane.":::
89
+
:::image type="content" source="media/ui-elements/ui-element-type-visual-indication1.png" alt-text="Screenshot of the UI element type visual indications in the UI element pane.":::
73
90
74
-
The same icons are also displayed during capturing, so you can confirm the type of an element before even saving it.
91
+
When you capture a desktop element, the desktop icon appears. When you capture a web element, the web icon appears. This way, you confirm the element type before saving it.
75
92
76
93
:::image type="content" source="media/ui-elements/ui-element-type-visual-indication-capturing.png" alt-text="Screenshot of a UI element type visual indication during capturing.":::
0 commit comments