Xclick and visualSearch #1 is not the first left to rigth and top to bottom

This is a very good question. The answer is that it depends whether or not you add #1 (or #2, #3,…) to your image name:

  • Without #1 (e.g. XClick | image.png) UIVision sorts after best match. So if the 3rd checkbox in this list happen to be a slightly better match than the others, it will be number 1 in the order.

  • With #1 added (e.g. XClick | image.png#1) UIVision treats all matches above the confidence level as equal. It sorts as top/left to bottom/right. So if the 3rd checkbox in this list happen to be a slightly better match than the others, it will still be number 3 in the order. So this is what you need.

See this video:

Screenshot from video: