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 / Selecting first window...
Power Automate
Answered

Selecting first window with multiple open

(0) ShareShare
ReportReport
Posted on by 23

After having great success with my last post, I'm now back with another question that I cannot seem to find an answer to, or if it even matters.

 

With our EMR, I often have multiple windows open since while I'm working on one patient, I may need to access another patient's profile (scheduling, updating information, etc). How can I make sure that PAD always selects the first window, which is the window I reserve for uploading documents into the patient's chart? If I have 6 windows open, all with the same title, process, etc, I only want it to select window 1 and go from there.

 

Is this possible?

 

Thanks!

I have the same question (0)
  • josephb61 Profile Picture
    65 on at

    I assume the EMR application is a windows gui program ?  (and not a web app).

    If windows app, capture the UI element for the 1st window and 2nd window, and then paste the selectors for both windows here .

  • arcylix Profile Picture
    23 on at

    Well, therein lies the problem. It IS an application, but each window selected does not have any unique identifiers. Both return:

     

    :desktop > window[Name="Window Name Redacted"][Process="WebMed"]

     

    Unless I'm doing something wrong here in collecting the information. I went to 'Add UI Element', moved the box to select the entire window, and Ctrl+Left click to add it.

  • josephb61 Profile Picture
    65 on at

    Can you paste the Selector Tree screen shot here, when you click custom

  • josephb61 Profile Picture
    65 on at

    a second time - click 3 dots on the selector window and you will get a selector tree

  • josephb61 Profile Picture
    65 on at

     see if  ID field or Ordinal fields have different values for he 2 windows

  • UK_Mike Profile Picture
    on at

    This...

     

    Screenshot 2022-02-21 194128.png

  • arcylix Profile Picture
    23 on at

    arcylix_0-1645474296411.png

    Window 1

     

    arcylix_1-1645474731164.png

    Window 2

     

    The names are identical. Am I missing something?

  • UK_Mike Profile Picture
    on at

    Appreciate confidentiality but are these both identical ? cant tell for obvious reasons.

    Theres got to be some difference no matter how miniscule 🤔

     

     

    Screenshot 2022-02-21 202225.png

  • josephb61 Profile Picture
    65 on at

    that is a problem with them being the same.

    ... chances are that your EMR program has a toolbar icon, a click menu item to bring each specific window in focus to work on.

    Or, a shortcut key to bring 1st, or 2nd, etc window in focus.

    Suggest you check the program's help function and search for shortcut keys like that.

     

    Did you find anything like above?

  • arcylix Profile Picture
    23 on at

    @UK_Mike  wrote:

    Appreciate confidentiality but are these both identical ? cant tell for obvious reasons.

    Theres got to be some difference no matter how miniscule 

     Unfortunately, there is zero differences in the name. Every one of them is the name of the practice and then my initials. If I switch screens (for example, go to 'Documents'), it prepends 'Documents' to the name, but I cannot rely on that because I could have documents opened in several of them.

     

    @josephb61 wrote:

    that is a problem with them being the same.

    ... chances are that your EMR program has a toolbar icon, a click menu item to bring each specific window in focus to work on.

    Or, a shortcut key to bring 1st, or 2nd, etc window in focus.

    Suggest you check the program's help function and search for shortcut keys like that.

     

    Did you find anything like above?

     

     

    There is no shortcut key to switch between the windows. Some additional information that I didn't think to mention before: When I log in, I can choose how many instances of a window I want. I usually choose 6 because I go through 6 different screens. To its credit, PAD seems to go to the last window I had used, so I suppose as long as I make it the last window of the series accessed, it should continue to work. I am not sure what to make of that, though.

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
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard