Le 13 mai 08 à 08:01, Jens Alfke a écrit :


On 12 May '08, at 8:15 PM, Ben Lowndes wrote:

I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.

Nothing personal, but people seem to ask this question here about once a week ... and I just have to ask "why"? What kind of application are you working on? I can't think of a compelling usage for this, other than writing some kind of window-management utility (or malware...)

And BTW, if you search the list archives you'll find easily 100 messages on this exact topic just in the past two or three months.


I don't know what the OP want to do, but just to answer your question, a screenshot utility may need this kind of functionality (see GrabFS for example), and that's exactly what the CGWindow API does.



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to