I think I’ve worked out how to do it without making it so buggy but it will take a lot of experimentation…...
> On 7 Sep 2016, at 10:41, [email protected] wrote: > > >> On Sep 7, 2016, at 6:09 PM, Dave <[email protected]> wrote: >> >> I’m already using Accessibility but the notification I get when a window is >> created is posted to too late for it to help in this case. >> >> I’m also using Event Taps, I want to be able to stop events being fired to >> the window until I have received and procesed the Window Created >> Accessibility Notification. > > The only other thing I could think of you might do is intercept events that > heuristically might create a window. Let them through then stall other events > until that notification or the CGWindowList changed. > > This is going to be slow and probably buggy and definitely awkward for most > users. > _______________________________________________ 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]
