Re: Getting window list from another application
Re: Getting window list from another application
- Subject: Re: Getting window list from another application
- From: Phillip Hutchings <email@hidden>
- Date: Tue, 21 Oct 2003 23:13:45 +1300
Thanks, I'm looking in to the accessibility API now.
Found a hacked copy of the Window Server's API on the internet, but
needless to say it's pretty useless without documentation, and being
the dock.
On 21/10/2003, at 10:52 PM, Alastair J.Houghton wrote:
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.
_______________________________________________
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.