I need to click on a folder with certain name, in the case there are multiple, click on the first one found.
It looks like visualSearch checks all results, but how do i act on a particular one? Thanks.
I need to click on a folder with certain name, in the case there are multiple, click on the first one found.
It looks like visualSearch checks all results, but how do i act on a particular one? Thanks.
To click on a result, you can can use XCLICK instead of visualSearch.
XClick | image => click on the best match of image
XClick | image@0.8#1 => click on the first match if several images above threshold are found. “First” is counted left to right, top to bottom. <== this is what you need
XClick | image@0.8#2 => click on the second match if several images above threshold are found.