• 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: Knowing when an app is launched and becomes active?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Knowing when an app is launched and becomes active?


  • Subject: Re: Knowing when an app is launched and becomes active?
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 15 Nov 2006 11:56:32 -0800

On 11/15/06, Marc Respass <email@hidden> wrote:

I haven't found a way to know when an application is launched and when it's the front most app.

Note "NSWorkspaceDidLaunchApplicationNotification" and "NSWorkspaceDidTerminateApplicationNotification" that generally cover the first part of your question.

...with that said using Carbon may be the best solution given your overall need.

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Knowing when an app is launched and becomes active?
      • From: Marc Respass <email@hidden>
References: 
 >Knowing when an app is launched and becomes active? (From: Marc Respass <email@hidden>)

  • Prev by Date: Re: Antw: Core Data PersistentStore woes with SQLite
  • Next by Date: Re: Knowing when an app is launched and becomes active?
  • Previous by thread: Re: Knowing when an app is launched and becomes active?
  • Next by thread: Re: Knowing when an app is launched and becomes active?
  • Index(es):
    • Date
    • Thread