I'm trying to make a macro. Could you give me some advice?
I've got a prog where you Roll Dice and a column of numbers appears (shown as an image, graphical text) on the screen.
I'm trying to write a script where i click on the Roll Dice button continiously until one of the numbers becomes 10.
I know how to point the mouse cursor and set left-click on repeat, but how do i set the Logic - If there is a '10' in the image , stop click. I'm not sure how to recognize graphical text aswell.

Could you help me, please?
Looking forward to your early reply,
Alex