For a project I must create a little buddy app that will read the content of one of the main app's text fields.
Is there a way to get to the contents of a window/control (I'm interested in the text of the text field) on OS X? Something like GetDlgItemText() on Windows where I just pass the control's global handle and will get the control's text.
Could anyone of you give me some keywords to google for? :)