How to automate mouse clicks on Windows 10 with Power Automate

If you want Windows 10 to repeat a set of mouse clicks for you, the most practical current option is Power Automate for desktop. It can record mouse and keyboard actions, target specific interface elements, add delays, and repeat a block of actions. That is more reliable than an old-style auto clicker that only remembers fixed screen coordinates.

Microsoft's current Power Automate for desktop requirements still list Windows 10 Home, Pro, and Enterprise. However, Windows 10 reached end of support on October 14, 2025. The operating system can still run, but Microsoft no longer provides the normal free security and feature updates, so moving to a supported Windows version is the safer long-term choice.

How to automate mouse clicks on Windows 10

1. Install or open Power Automate for desktop

Search the Start menu for Power Automate. If it is not installed, use Microsoft's official installation guide. The Microsoft Store version can be installed without administrator rights, while the MSI installer requires an administrator account.

Open Power Automate and create a new desktop flow. Give it a descriptive name such as Repeat invoice clicks or Open daily report, then open the flow designer.

Power Automate for desktop flow designer with the Recorder button highlighted
The flow designer provides a Recorder button for capturing mouse and keyboard actions.

2. Record the click sequence

Select Recorder in the toolbar, then select Record. Perform the clicks you want to automate at a normal pace. Power Automate's recorder can create UI automation actions that are tied to interface elements instead of only to raw X/Y coordinates. When you have completed the sequence, stop the recording and return to the flow designer.

Microsoft documents the same workflow in its desktop-flow recording guide.

Power Automate Recorder window running above a Windows Notepad window
The Recorder can capture a sequence while you work in the target desktop application.

3. Review each click and target the UI element

Open each recorded click and check what it targets. For normal Windows applications, prefer Click UI element in window when the target control can be detected. Microsoft says this action can perform left-click, right-click, double-click, middle-click, and button-down or button-up events.

The action also offers a Simulate action option for supported elements. Simulated clicks can work without physically moving the pointer or bringing the target screen to the foreground, although Microsoft notes that simulation is not compatible with every UI element. See the UI automation action reference for the current options.

Power Automate Click UI element in window settings with left click and Simulate action options
UI-element targeting is usually more resilient than clicking a fixed location on the screen.

4. Add waits and repeat the clicks when needed

If a program needs time to open, load a page, or update after a click, insert a Wait step before the next action. Without a delay, the flow may send the next click before the target control exists.

To run the same clicks a known number of times, place them inside a Loop. Microsoft's loop action reference describes Loop as an action that repeats a block a specified number of times. Use repetition carefully: a flow that clicks the wrong button repeatedly can do much more damage than a single bad click.

Power Automate flow showing a wait followed by two Click UI element in window actions
Review the final action order and add enough waiting time before running the sequence repeatedly.

5. Test the flow before relying on it

Run the flow once while watching the screen. Confirm that every click lands on the intended control and that dialogs, notifications, window movement, display scaling, or slow application startup do not change the result. Test again after changing monitor layout or screen resolution.

What if Power Automate cannot detect the button?

For an application that does not expose usable UI elements, Power Automate provides fallback methods. Microsoft's troubleshooting guidance suggests hovering over a UI element and then sending a mouse click, using image or OCR-based targeting, or moving the pointer to specific coordinates before using Send mouse click. The mouse and keyboard action reference documents the coordinate-based mouse action. Coordinate clicks are the least flexible option because the target can move when a window is repositioned or the display setup changes.

If you need to click an application that is running with elevated administrator privileges, Microsoft states that Power Automate must run with the same or higher privileges for mouse and UI automation actions to interact with it.

Keep click automation safe

  • Test on noncritical data before automating a destructive action such as Delete, Send, Purchase, or Confirm.
  • Use UI elements instead of absolute coordinates whenever possible.
  • Add waits around slow launches, network requests, and dialogs.
  • Stop the flow immediately if the target window changes or an unexpected prompt appears.
  • Do not use unattended click automation for security prompts or tasks that require human approval.

For most repetitive Windows 10 clicking tasks, Power Automate for desktop is a better fit than the older single-purpose auto-click tools because it combines recording, UI-element targeting, waits, loops, and troubleshooting options in one workflow.

Leave a Comment

How to Open a Linux Shell in a Folder on Windows 10

How to Open a Linux Shell in a Folder on Windows 10

Open a Linux shell in any Windows 10 folder with File Explorer, PowerShell, and WSL. Check the Linux path and fix common setup issues.

How to Fix Lines on a Monitor Screen in Windows 10

How to Fix Lines on a Monitor Screen in Windows 10

Use a screenshot test, cable and port checks, monitor diagnostics, display settings, and driver rollback to pinpoint lines on a Windows 10 monitor.

How to Add Two Extra Clocks on Windows 10

How to Add Two Extra Clocks on Windows 10

Show two other time zones beside your Windows 10 clock. Set up each additional clock, give it a clear label, and find it in the taskbar calendar.

How to Fix a Slow Context Menu in Windows 10

How to Fix a Slow Context Menu in Windows 10

Find the File Explorer extension that delays right-click menus in Windows 10, test it safely with ShellExView, and restore any menu features you still need.

How to Disable Power Management for Devices in Windows 10

How to Disable Power Management for Devices in Windows 10

Stop Windows 10 from powering down a specific network adapter or USB device with plan-level settings and Device Manager controls, plus tips to avoid excess battery drain.

How to Back Up a Windows 10 Product Key Safely

How to Back Up a Windows 10 Product Key Safely

Check whether Windows 10 uses a digital license or product key, find a firmware-stored OEM key, and save license details securely for a reinstall.

How to Identify a Process in Windows 10 Task Manager

How to Identify a Process in Windows 10 Task Manager

Identify a Windows 10 Task Manager process by checking its executable path, file properties, publisher, linked services, and a Microsoft Defender scan.

How to Create a List of All Items in a Folder on Windows 10

How to Create a List of All Items in a Folder on Windows 10

Create a searchable Windows 10 folder inventory with PowerShell. Save every file and subfolder path as plain text or export details to a sortable CSV.

How to Display Custom Text on Your Windows 10 Desktop

How to Display Custom Text on Your Windows 10 Desktop

Add a custom reminder, quote, or label to your Windows 10 desktop with a Rainmeter text skin. Create the INI file, load it, then adjust its font and position.

How to Use Bluetooth Swift Pair on Windows 10

How to Use Bluetooth Swift Pair on Windows 10

Use Bluetooth Swift Pair on Windows 10 to pair a compatible accessory from a notification, with setup steps and fixes when the prompt does not appear.