web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Factors influencing Se...
Power Automate
Unanswered

Factors influencing Send mouse click action's speed

(0) ShareShare
ReportReport
Posted on by 25

Hi, I have a flow that requires precise timing to send mouse click. After a few weeks of practice, I find that the "Send mouse click" action has taken 01ms to 60ms to execute (based on run history record). The configuration is simply send left click without delay, but the range of execution time can lead to failure, as the flow requires precise timing: if the action takes less than 10ms to run, then successful, if more than 40ms then confirmed fail, between 10-40ms is unknown. Do you know what are the factors influencing "Send mouse click" action run time? So that I can shorten the time to increase success rate. Thanks!

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I don’t know what you can do to make it faster. Would it be possible that “Send Keys” is faster.

     

    check this out:

    https://support.microsoft.com/en-us/windows/use-mouse-keys-to-move-the-mouse-pointer-9e0c72c8-b882-7918-8e7b-391fd62adf33

     

    good luck. 

  • txngiam Profile Picture
    25 on at

    Thanks, I turn on Mouse Keys and am able to control mouse using keyboard, however when I use "Send Keys" action to automate the same action (either send as hardware key or not) there is no response: {NumLock}{Divide} to send left click. Do you have an idea why that is so?

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Divide doesn’t send left click. 5 does. The divide symbol is just to pick the left click for the 5 button. You only have to do that at the beginning, that programs 5 to left click and 5 will always left click unless you give it another command, such as the right click command, then 5 would be programmed to do a right click until you tell it something different. 

  • txngiam Profile Picture
    25 on at

    I understand now...the funny thing is, when I manually enter Divide it is like left click, when I enter 5 there is no response; when I enter asterisk, dash then 5 there is also no response; when I enter 7, 8, 9 the cursor moves, but 1,2,3,4,6 give no response. I wonder if this happens because I'm using laptop without numpad? (have the Numlock on)

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Look at the keys on your laptop. There is a number pad hidden in your keys, so 7,8,9 are probably legit, but 4,5,6 might be u,i,o, and 1,2,3 might be j,k, l…see photo. 

    MichaelAnnis_0-1638513851620.jpeg

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I think you can dictate a Numkey in send keys.

     

    Send Keys {Numkey5}

  • txngiam Profile Picture
    25 on at

    It works manually but not in Power Automate, I manually turn on Numlock and run PA to send key {NumPad5}, no click is sent; also tried sending multiple {NumPad7}, no response at all...

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Wish I had something better for you. Is there any way you can loop back around on failure.  I’m not sure what your flow is doing at the time, but let’s say it’s a link that appears briefly, on the next page, there would be an element, correct?

     

    So, if you can say, “if element doesn’t exist, go to label”, and that will take you back to try it again. Even if it only works half the time, this would be enough to keep your flow moving. 

  • txngiam Profile Picture
    25 on at

    Thanks, but there is only one chance per day, that's why I need as much control over the time as possible. 

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I would put in a ticket.  The action documentation for PAD says the mouse click is supposed to go in 1/1000th of a second.  Sorry we couldn't figure something out.

     

    If you want to try one more time on your laptop, you could try sending the "i" key with the numlock pad enabled; part of me wonders if the laptop will interpret that as the 5 key, but I would be really surprised if that would work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 245

#2
David_MA Profile Picture

David_MA 216 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 212

Last 30 days Overall leaderboard