Re: How to fastly get the active window's title?
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