cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JGoldz75
New Member

Saving a Snipping Tool Screenshot?

Hello,

 

I am in a position where I need to take a screenshot of specific coordinates of the screen and save that screenshot to a particular folder on my machine. Since the default Power Automate functionality only allows me to take screenshots of the entire screen or foreground window, I have turned to trying to automate the Snipping Tool to accomplish this goal. 

 

I have created a simple automation to do this, but I am having UI selector errors on the "Save As" page. 

 

Here are screenshots of what I have built for reference:

Error 1.pngError 2.png

 

Line 53 tries to click the top of the address bar to manually type in the location of the folder in which I would like to save the file. The workflow fails on line 53 every time, prompting me that it cannot find the UI element. I have edited the UI selector (both window and actual menu item) to try to strip out as many unnecessary indicators as I could, leaving only the window name "Save As" and the name "Address".

 

*The automation seems to fail no matter what I try to click on within the Snipping Tool. Even the "Save" button doesn't work, so I needed to resort to Ctrl+S to open the "Save as" window

**It's worth noting that when the bot fails to capture the UI element.... if I simply click on the failed location and click "Run from here", the bot does find the UI object it is looking for and continues to function as it should. It always fails when running the bot from the beginning. 

 

Does anyone know what I am doing wrong? 

 

 

0 REPLIES 0

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,438)