• 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 08:58:52 +0900

The two key properties in NSWorkspace
ARE
KVO observable.
Reading the docs was easy ;)
frontmostApplication
And
menuBarOwningApplication

Sent from my iPhone

> On Sep 6, 2016, at 8:36 AM, Alex Zavatone <email@hidden> wrote:
>
> There are examples online for making NSArray observable if these are array structures.
>
> If you try this path, try it with a simple case where you make an NSArray and then change it.
>
> Sent from my iPhone
>
>> On Sep 5, 2016, at 4:25 PM, email@hidden wrote:
>>
>> Not sure if it's KVO observable but NSWorkspace might be worth looking into as well as NSRunningApplication
>>
>> Sent from my iPhone
>>
>> On Sep 6, 2016, at 3:55 AM, Dave <email@hidden> wrote:
>>
>>>> Would it be possible to observe which window becomes the front window and then send a notification?
>>>
>>> That’s what I am trying to find out……
>>>
>>> Cheers
>>> 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
>>
>> _______________________________________________
>>
>> 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

_______________________________________________

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: Andy Lee <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>)

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