• 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: じょいすじょん <email@hidden>
  • Date: Tue, 06 Sep 2016 19:15:15 +0900

> On 2016 Sep 6, at 18:49, Dave <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: Dave <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>)

  • Prev by Date: Re: Window Opened Notification?
  • Next by Date: Re: Limiting app installation
  • Previous by thread: Re: Window Opened Notification?
  • Next by thread: Re: Window Opened Notification?
  • Index(es):
    • Date
    • Thread