Get information from another app

Hi.

It there any official way for OSX app to get information from windows of another app? What I actually mean:
There is window with some graphics, words and digits. All this kind of data non-selectable. Can I get this text data programmatically and put it in my app?