• 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: "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.

  • Follow-Ups:
    • Re: Getting window list from another application
      • From: Phillip Hutchings <email@hidden>
References: 
 >Getting window list from another application (From: Phillip Hutchings <email@hidden>)

  • Prev by Date: Re: NSTableView corrupts the last column
  • Next by Date: Re: Getting window list from another application
  • Previous by thread: Getting window list from another application
  • Next by thread: Re: Getting window list from another application
  • Index(es):
    • Date
    • Thread