AUTOIT can automate many tasks like this. There are forums on this app along with some help on writing the scripts. You didn't tell if this was Windows based.
https://www.google.com/#q=autoit+read+screen+text. finds you can read screen text.
I do have a problem. I am working in spectroscopic laboratory at the university. My current project is accompanied by long term measurements at different temperatures. The temperature control unit is controlled by a separate software than the spectrometer unit. The softwares and thus the instruments do not communicate with each other!! However, I wrote 2 scripts. The first one controls the spectrometer and adjusts the angles of the polarizers inside the instrument. The other script controls the temperature. Now, a certain measurement has to be done with a subsequent change in the temperature and the measurement has to be repeated and the temperature kept constant during each measurement. I arranged everything with delay times in each script (one script "waits" for the other). Ok, so far so good. Now I would like to observe if everything goes well, when the scripts are running overnight in order to check, if at a certain time the temperature is correct and the measurement is running properly. Furthermore, an information about the lamp power would be helpful, too. Thus I search for a software that can do the following stuff: reading values from different fields on the screen at a certain time, afterwards transferring that data into a readable database for instance directly as an ASCII file with columns for each monitored field. Ok I hope I described my problem appropriately and you can help me.