• 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: Thu, 08 Sep 2016 14:00:04 +0100

> On 6 Sep 2016, at 01:29, Andy Lee <email@hidden> wrote:
>
> Dave, can you clarify whether you want is:
>
> 1. a notification when the frontmost window changes, or
> 2. a notification when some application opens a new window?
>
> If #1, observing these NSWorkspace properties looks like the way  to go.  If #2, bear in mind that applications can open windows that don't become the active window.  For example, it is possible to open links in emails, tweets, etc., that cause the browser to open a new window in the background.  The link might not open a new window at all, but rather a new tab in an existing browser window.
>
> I'm guessing you want #1, which is fortunately the easy (or easier) case. :)  Just checking.
>

No, I’m after option 2!

All the Best
Dave


_______________________________________________

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


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>)

  • Prev by Date: Re: What difference exist from where a method will be called?
  • Next by Date: Re: Window Opened Notification?
  • Previous by thread: Re: Window Opened Notification?
  • Next by thread: Limiting app installation
  • Index(es):
    • Date
    • Thread