• 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: Window Opened Notification?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window Opened Notification?


  • Subject: Re: Window Opened Notification?
  • From: Dave <email@hidden>
  • Date: Wed, 07 Sep 2016 10:09:15 +0100

Hi,

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.

Cheers
Dave

> On 6 Sep 2016, at 11:15, じょいすじょん <email@hidden> wrote:
>
>
>> On 2016 Sep 6, at 18:49, Dave <email@hidden <mailto:email@hidden>> 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@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


  • Follow-Ups:
    • Re: Window Opened Notification?
      • From: email@hidden
References: 
 >Window Opened Notification? (From: Dave <email@hidden>)
 >Re: Window Opened Notification? (From: Dave <email@hidden>)
 >Re: Window Opened Notification? (From: Dave <email@hidden>)
 >Re: Window Opened Notification? (From: email@hidden)
 >Re: Window Opened Notification? (From: Alex Zavatone <email@hidden>)
 >Re: Window Opened Notification? (From: email@hidden)
 >Re: Window Opened Notification? (From: Andy Lee <email@hidden>)
 >Re: Window Opened Notification? (From: Dave <email@hidden>)
 >Re: Window Opened Notification? (From: email@hidden)
 >Re: Window Opened Notification? (From: Dave <email@hidden>)
 >Re: Window Opened Notification? (From: じょいすじょん <email@hidden>)

  • Prev by Date: Odd File Truncation
  • Next by Date: Re: Unusual Conditional Formatting
  • Previous by thread: Re: Window Opened Notification?
  • Next by thread: Re: Window Opened Notification?
  • Index(es):
    • Date
    • Thread