Is there a way to get the color (rgb/hex) of a certain pixel on the screen (not from an image!)? For example, if I want to know the color of the pixel at the x/y coordinates 1000, 1000, how would I do this?
I want to explore this idea for Citrix automation because images can be a bit funky.
Thanks for the answers! I don’t know what to do with a Nuget package and I want to avoid the Take Screenshot activity if possible. I was playing around and managed to come up with a workflow file that does exactly what I want using VB .Net code.
It’s a workflow that accepts X and Y coordinates, a pixel color (hex format, example: “0173C7”) and timer in seconds as arguments. It returns a boolean to indicate if the pixel color was found at the coordinates within the alotted time. It’s very responsive despite polling the screen every second.
The main purpose I see for this is to check if a web application loaded (through Citrix or similar env). I wonder how reliable this would be compared to searching for images. What do you think?