Ensure that application windows become focused
Although Power Automate provides the Focus window action, depending on the nature of the selected application, the action may not bring the window to focus.
To verify that the Focus window action can't bring a specific window to focus, send some keystrokes using the Send keys action. If the window isn't focused, the keystrokes won't work as expected.
To ensure that the window will become focused, send a click on it after deploying the Focus window action. Depending on the scenario, you can use either of the following actions to send a click on the window:
- Click UI element in window
- Move mouse to image - Enable the Send a click after moving mouse option
- Send mouse click
- Move mouse to text on screen (OCR) - Enable the Send a click after moving mouse option
Note
You can find more information regarding sending keystrokes in Automate applications using keyboard shortcuts.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for