Find Image matches and click on that coordinate

Hello all,

i have a window and I have to click on a specific point…

what i found is to use “findimagematches” and then it seems i have UIElements with a variable and X Y inside it:
List(1) { UiElement {…

{ Rectangle=[{X=59,Y=179,Width=19,Height=17}] },

but i do not know how can I click on that point…

any suggestions?

is it correct the solution i found? or exist another better solution to click on a specific point where there is an image?

thanks a lot

@Luca09

Pass the output which you received as inpit elemnet in the click activity and it would click on that area or uielement

Cheers

Hey

you can pass that variable in the element propertie of your click, as it is a list of IEnumerable we should call the position

yourEnumerabeVar(0)

Regards!

1 Like

Thanks for fast feedback! :slight_smile:

but i do not understand for “target” i do not see “target”… any suggestion?

target

Hey

here

2 Likes

@Luca09

As this is modern activity please check the input element property

Cheers

Thanks a lot! It works!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.