cancel
Showing results for 
Search instead for 
Did you mean: 

Get Image of current screen

EricLi
Level 6
​​I am trying to get current screen by Read Image to a region element which Start x/y, End x/y are all set to be dynamic. But the returned image is not what I expected. Is there something I missed?

Attached please find the screenshot.

------------------------------
Eric Li
Operation Analysis
AIG
Asia/Hong_Kong
------------------------------
6 REPLIES 6

Anonymous
Not applicable
Try a C# code

https://stackoverflow.com/questions/254197/how-can-i-get-the-active-screen-dimensions



------------------------------
Cohen
RPA Developer

Romania
------------------------------

​Thanks Cohen

But I have little knowledge of C#, is there any other solutions or do you have a object can share?

------------------------------
Eric Li
Operation Analysis
AIG
Asia/Hong_Kong
------------------------------

AstridStollberg
Level 6
You can try my "Screenshot" object (s. attachment)

------------------------------
Cheers Astrid
------------------------------
Cheers [FirstName]

Works, great Astrid.
This asset also works fine https://digitalexchange.blueprism.com/dx/entry/3686/solution/screen-capture-tool,
but your solution allows to capture some specific region that is very useful.

------------------------------
Miguel Carrillo
------------------------------

​Thanks Astrid. It is really good for me.

------------------------------
Eric Li
Operation Analysis
AIG
Asia/Hong_Kong
------------------------------

VivekGoel
Level 10
You can also try the screenshot utlity:

https://rpatools.com/2019/02/playing-with-screenshots-and-clipboard-images-blue-prism/

------------------------------
Vivek Goel
RPA Architect
Asia/Singapore
+6594554364
https://www.rpatools.com/
"If you like this post, please press the "Recommend" Button.
------------------------------