• 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: How to fastly get the active window's title?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to fastly get the active window's title?


  • Subject: Re: How to fastly get the active window's title?
  • From: Dave Keck <email@hidden>
  • Date: Tue, 27 Jul 2010 05:13:56 -0400

CGWindowListCreate() and CGWindowListCreateDescriptionFromArray() are
probably your best bet, with the accessibility APIs being another
option.

Note that that UI controls are sometimes implemented as separate
windows, but from the user's perspective they belong to a parent
window; this is something you'll likely need to consider when using
these APIs. For example, just because a window is at the beginning of
the window list returned from CGWindowListCreate(), doesn't mean it's
what the user would consider the "active window."
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >How to fastly get the active window's title? (From: cocoa nick <email@hidden>)
 >Re: How to fastly get the active window's title? (From: John Joyce <email@hidden>)

  • Prev by Date: tableview multiple selected loop
  • Next by Date: Re: Knowing how a Text Editing Session ended
  • Previous by thread: Re: How to fastly get the active window's title?
  • Next by thread: tableview multiple selected loop
  • Index(es):
    • Date
    • Thread