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 / Need to understand the...
Power Automate
Unanswered

Need to understand the capabilities

(0) ShareShare
ReportReport
Posted on by 2

Folks,

Excuse me if this is not the place for this question. I just discovered Power Automate and I have a particular task I want to automate.  Before diving into the rabbit hole, I would like to know if what I want to do is even supported.

I have an application that opens many windows, I want to be able to

  1. double-click on one of these windows,
  2. emulate a right-click to open the context menu,
  3. select a specific option that will open a sub-context menu,
  4. select a specific option from that,
  5. and then close the window.
  6. repeat if I double-click on another one of the application's windows.

Does Power Automate support such functionality and, if so, could someone please point me in the right direction to learn how to do this?

Thanks in advance for all suggestions.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Short answer is: absolutely.

     

    Longer answer is, use these actions:

    1. double-click on one of these windows,
      1. Focus Window
    2. emulate a right-click to open the context menu,
      1. Send Keys {Apps}
    3. select a specific option that will open a sub-context menu,
      1. If hotkeys are available, I recommend those using Send Keys
      2. If not, you want "Click on UI Element"
      3. You may also be able to navigate with Send Keys using a series of arrows and space bar or enter...such as Send Keys {Down}{Down}{Right}{Down}{Space} (this would cover 3 & 4 at the same time)
    4. select a specific option from that,
      1. Same as 3
    5. and then close the window.
      1. Send Keys {Alt}({F4}) may be an option.  Usually this just closes one window, but may close all windows in one program depending on how the program is built.
      2. Click on UI Element is another option

     

    When using the "Focus Window" action or the "Click on UI Element" actions, one of the parameters is the element.  For Focus Window, click the dropdown and choose Select Window.  Then hover over the window you want to capture as a Window element; then hold CTRL and right click the Window.  For "click on UI Element", click the dropdown, select capture element, and go through the same process.  Wait until the red outline surrounds the button/icon you want to capture.

     

     

    1. repeat if I double-click on another one of the application's windows.
      1. Let's start with making it work on a window, and we can talk more about loops.  What will happen is we will need to capture all open windows into a list and then can loop through the list using the same actions that you build for just one.

     

    Hope this helps.

  • jrfinkel Profile Picture
    2 on at

    Michael, thank you very much.  Now that I know that it is possible, and with your pointers, I will now dive into the rabbit hole.  Thanks again.

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 275 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 178 Super User 2026 Season 2

Last 30 days Overall leaderboard