Im a grad student at Georgia tech and as part of a research project need to write an OS X program to find out details about the windows on a desktop such as the title, take snapshots, when they gain/lose focus, window maximise/minimize, creation, closure, etc...
Can anyone give me a few pointer on how to go about this? Are there any hooks that I can use to extract this data? Some people have suggested using the NSworkspace class.
Thanks
Rahul