Skip to content

Commit b887938

Browse files
committed
PR feedback
1 parent cc9de79 commit b887938

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

support/power-platform/power-automate/desktop-flows/ui-automation/block-input-action-issues.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ ms.custom: sap:Desktop flows\UI or browser automation
77
---
88
# UI automation actions fail after Block Input action
99

10-
This article provides solutions for an issue in which UI or web automation actions that involve mouse or keyboard input don't work as expected after you use a _Block Input_ action in Power Automate for desktop.
10+
This article provides solutions for an issue in which UI or web automation actions that involve mouse or keyboard input don't work as expected after you use a **Block Input** action in Power Automate for desktop.
1111

1212
## Symptoms
1313

14-
When you run a desktop flow that includes a Block Input action by having the **Block It** parameter set to **True**, subsequent UI or web automation actions might not work as expected. The flow continues to the next actions without showing any errors, but the mouse or keyboard interactions aren't run.
14+
When you run a desktop flow that includes a [Block Input](/power-automate/desktop-flows/actions-reference/mouseandkeyboard#blockinput) action by having the **Block It** parameter set to **True**, subsequent UI or web automation actions might not work as expected. The flow continues to the next actions without showing any errors, but the mouse or keyboard interactions aren't run.
1515

16-
The following actions might not work correctly after a Block Input action:
16+
The following actions might not work correctly after a **Block Input** action:
1717

1818
- Populate text field in window
1919
- Press button in window
@@ -29,10 +29,10 @@ The following actions might not work correctly after a Block Input action:
2929

3030
## Cause
3131

32-
The Block Input action requires elevated rights to run because of its critical functionality. If Block Input is active by having **Block It** set to **True**, the action can interfere with subsequent UI or web automation actions that require physical mouse or keyboard input.
32+
The **Block Input** action requires elevated rights to run because of its critical functionality. If **Block Input** is active by having **Block It** set to **True**, the action can interfere with subsequent UI or web automation actions that require physical mouse or keyboard input.
3333

3434
> [!NOTE]
35-
> The Block Input action works only when you:
35+
> The **Block Input** action works only when you:
3636
>
3737
> - Run a desktop flow through the console or debug it through the designer.
3838
> - Run Power Automate for desktop runs by having elevated rights.
@@ -41,16 +41,16 @@ The Block Input action requires elevated rights to run because of its critical f
4141
4242
## Solution 1: Don't use the Block Input action
4343

44-
To prevent this issue, design your flow without the Block Input action, if possible.
44+
To prevent this issue, design your flow without the **Block Input** action, if possible.
4545

4646
## Solution 2: Use alternative mouse and keyboard actions
4747

48-
If you have to use Block Input and perform mouse actions, use one of the following actions from the _Mouse and keyboard_ category instead of UI automation actions. For more information, see [Mouse and keyboard actions reference](/power-automate/desktop-flows/actions-reference/mouseandkeyboard).
48+
If you have to use **Block Input** and perform mouse actions, use one of the following actions from the _Mouse and keyboard_ category instead of UI automation actions. For more information, see [Mouse and keyboard actions reference](/power-automate/desktop-flows/actions-reference/mouseandkeyboard).
4949

5050
### Alternative A: Use Move mouse and Send mouse click actions
5151

52-
1. Use the **Move mouse** action to move the mouse pointer to a specific position.
53-
1. Use the **Send mouse click** action to perform the click.
52+
1. Use the [Move mouse](/power-automate/desktop-flows/actions-reference/mouseandkeyboard?source=recommendations#movemouse) action to move the mouse pointer to a specific position.
53+
1. Use the [Send mouse click](/power-automate/desktop-flows/actions-reference/mouseandkeyboard?source=recommendations#sendmouseclick) action to perform the click.
5454

5555
The **Move mouse** action requires you to specify coordinates. Use the **Relative to** parameter to specify whether the new mouse position is relative to:
5656

@@ -60,15 +60,15 @@ The **Move mouse** action requires you to specify coordinates. Use the **Relativ
6060

6161
### Alternative B: Use Move mouse to Image action
6262

63-
Use the **Move mouse to Image** action by having the **Send Click after moving mouse** option enabled. This action moves the mouse to the position of a specified image on the screen, and then sends a click.
63+
Use the [Move mouse to Image](/power-automate/desktop-flows/actions-reference/mouseandkeyboard#movemousetoimagebase) action by having the **Send a click after moving mouse** option enabled. This action moves the mouse to the position of a specified image on the screen, and then sends a click.
6464

6565
### Alternative C: Use Move mouse to Text on Screen (OCR) action
6666

67-
Use the **Move mouse to Text on Screen (OCR)** action by having the **Send a click after moving mouse** option enabled. This action uses optical character recognition (OCR) to locate text on the screen, moves the mouse to that position, and then sends a click.
67+
Use the [Move mouse to Text on Screen (OCR)](/power-automate/desktop-flows/actions-reference/mouseandkeyboard#movemousetotextonscreenwithocraction) action by having the **Send a click after moving mouse** option enabled. This action uses optical character recognition (OCR) to locate text on the screen, moves the mouse to that position, and then sends a click.
6868

6969
### Solution 3: Temporarily disable Block Input
7070

71-
If you have to use Block Input but also have to perform actions that require physical input, use the following method:
71+
If you have to use **Block Input** but also have to perform actions that require physical input, use the following method:
7272

7373
1. If you need input blocked, use the **Block Input** action by having **Block It** set to **True**.
7474
1. Before you run a UI or web automation action that requires mouse or keyboard input, add a **Block Input** action that has **Block It** set to **False**.

0 commit comments

Comments
 (0)