> On 2016 Sep 6, at 18:49, Dave <[email protected]> wrote: > >> >> Ah. >> Well in that case, you get accessibility and you need users to allow it >> once. > > I said in my original post - without using Accessibility > > Cheers > Dave I know. I remember. Point is, the AX API is your only realistic option to achieve this. What you never really said is what you are really trying to accomplish. With that, somebody might be able to point you to something useful.
You could try something with NSWorkspace & NSRunningApplication + CGWindowList You could also try to hack together an NSEvent global event monitor or a CGEventTap approach and try to intercept and guess at events. Pretty sure that would be very difficult with sandboxing. Neither one would do quite what you would really like _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
