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 / Microsoft Power Automa...
Power Automate
Unanswered

Microsoft Power Automate Desktop - Paste Screenshot in CSV Worksheet

(1) ShareShare
ReportReport
Posted on by 11
I am using Microsoft Power Automate Desktop. I want to take screenshot of current application present on screen(web application / desktop application...) then bot perform few other actions. at the end of all actions add that screenshot in new worksheet of CSV. How to do that?
I have the same question (0)
  • Suggested answer
    Riyaz_riz11 Profile Picture
    3,844 Super User 2025 Season 2 on at
    Hi,

    You can use action take screenshot and use clipboard and use excel instance attach running instance and use send keys to paste the content.
     
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
    Regards,
    Riyaz
  • PS-05051208-0 Profile Picture
    11 on at
    @Riyaz_riz11 Thanks you for answering. but after taking screenshot, I am using few other action(as I mentioned in question) and not immediately pasting in excel (as this excel will be downloaded at the end and i have to paste screenshot after that). So I cant i cant save in clipboard as I am not immediately pasting screenshot in CSV.
  • Riyaz_riz11 Profile Picture
    3,844 Super User 2025 Season 2 on at
    @PS-05051208-0

    It's not a problem anyway if it's copied it will be stored in the clipboard
  • Suggested answer
    eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at
    As @ mentioned you can keep it stored in the clipboard and only paste it in the end of the flow unless you need to use the clipboard in between the screenshot and pasting it into the Excel sheet.

    So if you need to use the clipboard in other parts of the flow then you could use script to accomplish this. So save the image to jpg file not to clipboard and then have script that copies that image file to your clipboard clipboard just before pasting it in the Excel.


    PowerShell script:
    Add-Type -AssemblyName System.Windows.Forms
    Add-Type -AssemblyName System.Drawing
    
    # Specify the path to your image file
    $imagePath = "C:\Users\Eetu\Downloads\test123.jpg"
    
    # Load the image
    $image = [System.Drawing.Image]::FromFile($imagePath)
    
    # Set image to clipboard
    [System.Windows.Forms.Clipboard]::SetImage($image)
    
    Write-Host "Image copied to clipboard."

    Full example flow:

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