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 / Power Automate Desktop...
Power Automate
Answered

Power Automate Desktop - How to rename the screenshot?

(0) ShareShare
ReportReport
Posted on by 340

Hi, new to the desktop version!

I will be grateful if someone can help me with renaming the screenshot taken with the help of the desktop flow.
My flow is currently able to take a screenshot. 

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

    The default is to copy the screenshot to the clipboard, but if you change the "Save ScreenShot To:" option down to "File" then it gives you the option to rename it whatever you want and put it into the format of your choice.

     

    Best of luck!

  • mithushalk Profile Picture
    340 on at

    Hi @MichaelAnnis 

    Can you please share a demo if possible?

     

    Also, is it possible to rename the screenshot based on the Website?
    Ex - I open the Amazon website & get a screenshot of the website. The screenshot must be saved by the name "Amazon".

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    The "Take Screenshot" command:

    MichaelAnnis_0-1633548653135.png



    The "Take screenshot of web page command":

     

    MichaelAnnis_1-1633548712341.png

     

    If you have "Amazon" as a variable, you can put the variable in the text of the image file.

     

    Possibly, something like:  C:\Images\%Browser.Handle%.jpg

     

    This would put the handle ID of the Browser instance as the filename.

     

    Best of Luck!  

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hello @mithushalk 

     

    You can use the action "Get details of web page" to retreive the title of web page currently displayed in web browser.

     

    shindomo_0-1633599902639.png

    shindomo_1-1633599922796.png


    For example, you can set the Image file path of screenshot to be saved using page title variable as below:

    C:\Users\User01\Pictures\%WebPageProperty%.png

     

    shindomo_2-1633600101572.png


    As a result, you will have an image file like this:

     

    shindomo_3-1633600337589.png

     

    Please try it.

    Thank you.

  • VJR Profile Picture
    7,635 on at

    Hi @mithushalk 

     

    I agree with both the solutions shared above in this thread.

    I want to add another option for you to save the website name.

     

    After you launch a website, set a variable for that website whose value for eg would be  "Amazon".

    and then use this variable to print in the screenshot file name.

    Or if you do not know which website you are going to open because you are dynamically opening the website, for example, by reading from some spreadsheet, then either using string functions or regular expressions fetch the website part name from the URL you are launching www.amazon.com 

     

    Some websites have tag lines and punch lines in the title so doing this will give you only the website name.

     

    Good day!

     

  • mithushalk Profile Picture
    340 on at

    Hi @MichaelAnnis @VJR @Anonymous,

    Thank you for the replies! My application is behaving wired so will check once that's fixed 😀

  • mithushalk Profile Picture
    340 on at

    Hi,

    I added steps as mentioned in the flow & checked but it threw an error. 

    mithushalk_0-1634122949296.png

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    You are trying the web page version.  Are you trying to get a specific screenshot of a specific element, or are you trying to get the whole window.  If you are trying to get the whole window, I would use the other version of "Take Screenshot".

  • mathiaskjeldsen Profile Picture
    224 on at

    Hi 

     

    You need to use Set Variable, and then reference that variable in the folder path you save it to. I use date as a prefix quite often, and have shown how to do exactly that here: Take screenshots and store them in folders - Power Automate Desktop.

     

    Best regards

    Mathias Kjeldsen

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 507 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 267 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard