> On 5 Sep 2016, at 18:27, dangerwillrobinsondan...@gmail.com wrote: > > Not really. > You could use CGWindowList but you'll be polling.
I was wondering if it would be possible to make the Window list Key-Value observable? I’m Trying to avoid running a timer and polling the Window list. Cheers Dave > > > Sent from my iPhone > >> On Sep 6, 2016, at 1:09 AM, Dave <d...@looktowindward.com> wrote: >> >> Hi All, >> >> Is there any way other that using Accessibility that you can tell when a >> window is opened is any application? Something like a running app >> notification? >> >> If it is not possible using Cocoa? Is there any way of doing this via the >> Window Server? >> >> All the Best >> Dave >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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: >> https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com >> >> This email sent to dangerwillrobinsondan...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com