Reading text to right of an image

Hi,

How do I read the text to the right of an image?
Attached the screenshot. I would like to get the date displayed to the right of the circled image.

You can do a ReadText() at a point. You can either set the hot spot on the captured image so that it sits to the right of the point, or you can just find the image location and add an offset to it. You would probably want to use the validPattern property to help the OCR to return the right characters. The code might look like this:

put readText(imageLocation("calIcon") + (50,0), validPattern:"[0-9]+/[0-9]+/[0-9][0-9][0-9][0-9] [0-9]+:[0-9][0-9] (A|P)M"