Imagine a 3rd party application (game) like farmville or something where things occur and it spits out text like “your farm needs XYZ”. Since it’s on my computer, I know the text must be on my computer memory somewhere. I want to be able to access that text information from my computer memory so that I can use it as input for a script.
How do I go about searching my computer memory for that text in real time?
There is actually a very good tutorial on how to do this but it was taken off the net. Fortunately the Wayback Machine has a archived copy of it.
Here is a link to the tags page that should get you to the other parts of the article, I believe there are 8 parts, but there are other relevant pages on that tag page too.