Re: Getting window list from another application
Re: Getting window list from another application
- Subject: Re: Getting window list from another application
- From: "Alastair J.Houghton" <email@hidden>
- Date: Tue, 21 Oct 2003 10:52:54 +0100
On Tuesday, October 21, 2003, at 06:38 am, Phillip Hutchings wrote:
A weird question, but is it possible to get the window list of another
application? Just an array of NSWindows would be fine, but I can't see
anything in the documentation.
Similar questions have come up before. The basic answer is that Cocoa
objects only exist in your applications' address space, so obtaining
another application's NSWindow objects isn't possible (without dirty
hacks like vending them over DO from an Input Manager). Several people
have mentioned that the accessibility API is able to provide
information about other apps' windows, so you might like to take a look
at that.
It's probable that there are more complete answers to this question in
the list archives, so I would encourage you to search
http://cocoa.mamasam.com
for more information.
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.