• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting window list from another application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Getting window list from another application (From: "Alastair J.Houghton" <email@hidden>)

  • Prev by Date: Re: Getting window list from another application
  • Next by Date: Mouse Movements in a Drawer
  • Previous by thread: Re: Getting window list from another application
  • Next by thread: Re: Getting window list from another application
  • Index(es):
    • Date
    • Thread