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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Finding offsets for UI...
Power Automate
Unanswered

Finding offsets for UI elements?

(0) ShareShare
ReportReport
Posted on by 10

Hello everyone!

 

I was previously using the Desktop Recorder which for one of my computers for a remote desktop was using UI Elements and offsets to determine where to click. This was fast and worked really well, however, my other computer when recording a remote desktop uses "Move mouse to image" and is around 5x slower than UI Elements.

 

I wanted to recreate the UI Elements on the computer that recording images and mouse movement and input offsets for UI Elements however I'm having a heck of a time trying to figure out how to find offsets (x and y numerical values). Any help would be appreciated! This would pertain to offset x and offset y if applicable. In most cases from what I saw in the recording it was always an x offset and moved the cursor to a position within that UI Element first.

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hi @Slack 

    See if this helps. It's from old WinAutomation docs, but works in PAD.

    How to find the coordinates of a web element | Microsoft Docs

  • Slack Profile Picture
    10 on at

    Thank you! @Anonymous 

  • Slack Profile Picture
    10 on at

    I'm actually OK with having the mouse move to an image but it's so slow it's hard to justify even turning it on. 

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    I don't know how many of these you have and how much time you want to spend doing math, but the "Move Mouse" command has live mouse position coordinates in it.  So if you get the center of the web element and the center of the button (or link) you want to click, you can subtract the two 'x(link)-x(element) and y(link)-y(element)' and get your offset.

  • Slack Profile Picture
    10 on at

    Hey @MichaelAnnis wow that's brilliant thank you!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard