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 / Why can't I edit the t...
Power Automate
Answered

Why can't I edit the text of the window title, in a Power Automate Desktop script?

(0) ShareShare
ReportReport
Posted on by 16

I'm new to Power Automate Desktop. I tried using it to automate a sequence of commands I always enter into a Windows Terminal. However, after recording the steps I took, it failed to run later when circumstances had changed. Here's the step where it is failing:

 

RodAtWork_0-1669759053708.png

 

This step is looking for a window in Windows Terminal with the text, "PW [main] - PowerShell 7.3 (16868)". There are several problems here. 

  • I am NOT always in a folder named PW
  • Over time I'll update PowerShell to something newer that version 7.3
  • This only works if on on a Git branch named "main"
  • This assumes that the process ID is 16868

Any of these can and will change when I go to different projects, folders, branches and most important, process ID. So, the logical thing for me to do is at least change the string to simply "PowerShell". Only Power Automate Desktop will NOT let me edit anything.

 

Why the heck not?????????????????????????????????????????????

  • VJR Profile Picture
    7,635 on at

    Hi @RodAtWork,

    Looks like you want PAD to identify a window that has PowerShell in the window title.

     

    Basically, you will need to go into the selector window of the UI element captured for the window.

    Then choose Contains for the window title attribute and type PowerShell.

    Something like this.

      VJR_1-1669778253972.png

     

    Take help from this official post here

    Build a custom selector - Power Automate | Microsoft Learn

     

     

     

     

  • RodAtWork Profile Picture
    16 on at

    Thank you, @VJR for your quick response,

     

    I've got to ask follow up questions or two. First, I have no idea at all how to get into that "selector window of the UI element". I selected my flow to edit it. And that's where I got hung up. Here's what I see:

     

    RodAtWork_0-1669823784881.png

    referring to the link you provided, there is no "selector with recapture". I tried searching the actions, I still couldn't find "selector with recapture".

     

    So, I'm lost with no clue as to how to proceed following the instructions on the link you provided.

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

    On the right of your flow screen should be 3 panes. An input pane, a variable pane, and a UI pane.  On the UI pane, find your power shell window (it should be in bold), and hover over it.  The 3 dots appear, right click them and then click view.  There may be another small pop up. If so, do the same thing, hover over it, right click 3 dots, click view (or edit). Then you should see the screen @VJR Was talking about. 

    find the “name” parameter, change to “Contains” and the put “Powershell” in the value box - no quotes. 

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    @RodAtWork

    If you closed the right pane, to maximize the designer canvas, you need to go to View menu and open it back from there.

    Different language, but you get an idea.

    momlo_0-1669877322385.png

     

  • RodAtWork Profile Picture
    16 on at

    Hello @momlo , no I'm sorry. The right side only has two panes in it: Input/output variables and Flow variables.

     

    RodAtWork_0-1669905548424.png

     

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    These are buttons - click them 🙂
    I encourage you to jump on YouTube to watch couple of basic PAD videos, you will be able to learn a lot from them.
    That's how I started learning PAD 🙂

     

    momlo_0-1669906714549.png

     

  • RodAtWork Profile Picture
    16 on at

    Thank you everyone for your help. @MichaelAnnis just a note of clarification. It wasn't three panes on the right side, it was three buttons. And I had to select the middle one.

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 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 202

#3
David_MA Profile Picture

David_MA 180 Super User 2026 Season 2

Last 30 days Overall leaderboard