Question

1
Replies
24
Views
Close popover
Daniel Quinlog (DanQuinlog)
Hoverstate

Hoverstate
US
DanQuinlog Member since 2020 2 posts
Hoverstate
Posted: March 4, 2021
Last activity: March 9, 2021
Solved

unable to take screenshot unattended rpa

I used this guide to build a screen capture tool

https://collaborate.pega.com/discussion/pega-robotics-capturing-screen-pega-robotic-automation

This is run on rpa virtual machine unattended.  While attended it will capture the screen at the correct times, but when it is unattended it returns

Error executing link in Automation: SGE_P_ScreenCap - From: SGE_P_ScreenCap.rectangleProxy1.Properties To: SGE_P_ScreenCap.graphicsProxy1.CopyFromScreen()

The handle is invalid

I assume this is because there is no screen on an unattended vm.  Is there a way to generate a screen capture in this instance?

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Robotic Process Automation 19.1 Robotic Process Automation