• 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: App Listener?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App Listener?


  • Subject: Re: App Listener?
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 8 Jan 2009 05:39:57 -0800

On 2009 Jan, 07, at 22:46, Chunk 1978 wrote:

does this work with Dashboard?  it seems that dashboard is a
background application that's always open...

Well, obviously it does not.

You'd need a NSWorkspaceDidActivateApplicationNotification, but it looks like there is no such thing. You could periodically poll - [NSWorkspace activeApplication], but I hope someone has a better idea, because if you do I would not want your process running on my Mac.

_______________________________________________

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: App Listener?
      • From: Ken Thomases <email@hidden>
References: 
 >App Listener? (From: "Chunk 1978" <email@hidden>)
 >Re: App Listener? (From: David LeBer <email@hidden>)
 >Fwd: App Listener? (From: "Chunk 1978" <email@hidden>)

  • Prev by Date: [iPhone] Update table cell text on selection in other view
  • Next by Date: Re: Convert GWorldPtr into a NSImage
  • Previous by thread: Fwd: App Listener?
  • Next by thread: Re: App Listener?
  • Index(es):
    • Date
    • Thread