Take it from the Top

how to make Uipath search for the image downwards (from the top of the screen to the bottom)> because there is more images and they are the same so I want just to pick the first one at the Top @vvaidya

Search for the image for a specific time out and send hot key “page down” and do the same till you find the image.

Is this what you are looking for?

I think I wasn’t clear enough,All the images are already existed on the screen (they are similar of course), I just want to pick the one that at the top,not that at the middle or the one at the bottom

can this be done using selectors(image name) or you have to read image only?

If selectors,

1)you can inject dynamic names into selector and search till you find the image

  1. you can do data scraping to get image and url into a table and do for each loop till you find the image.

not I can’t use selectors here

The. I guess you have to use the below, by selecting specific ranges on screen and if not found move to next.

Ps: there might be better solution which I’m not seeing.


Defines the clipping rectangle, in pixels, relative to the UiElement, in the following directions: left, top, right, bottom. It supports both positive and negative numbers, and only Region variables.

Thanks @vvaidya
but I can’t depend on that, I need something like > make uipath just choose the first image,he can recognize all of them so I just want it choose the first from the top to the bottom.

Similar to data scraping, not sure if Uipath has something similar for images.

Some others might be able to help. Good Luck!

1 Like

In the meanwhile check this

@Hazem i tested the above solution, it clicks all images on screen but “Randomly” and not from top.

1 Like

Hello Hello :slight_smile: @vvaidya
after your last replay I did test it,too and actually it worked to me.