I'm trying to get a list of the top-level windows that are currently open on OS X. On Windows this can be achieved using EnumWindows and I was wondering if OS X had any sort of equivalent for this? (even having to enumerate through the applications, and then the windows would be fine)
I've tried searching for this, but unfortunately both Google and SO weren't so useful in their results. I think the 'windows' keyword confuses them into thinking I want results ab开发者_如何学编程out Windows :(
Thanks for any help.
Maybe not exactly what you want, but here is something from the Apple Mailing Lists
精彩评论