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

Knowing when an app is launched and becomes active?


  • Subject: Knowing when an app is launched and becomes active?
  • From: Marc Respass <email@hidden>
  • Date: Wed, 15 Nov 2006 12:06:51 -0500

Hi all,

I have a list of applications that I want to watch. I want to know when they are running and when they are active so that I can track the amount of time I spend in each. It's easy enough to get a list of running windowed apps from NSWorkspace but, so far, I haven't found a way to know when an application is launched and when it's the front most app. I looked though Process Manager and Launch Services and I don't see anything. Maybe I'm looking for the wrong thing. I was sort of hoping for some kind of notification that I can register to receive. Does anyone know where I should be looking for this info and can point me in the right direction?

Thanks a lot
Marc
_______________________________________________
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: "Shawn Erickson" <email@hidden>
    • Re: Knowing when an app is launched and becomes active?
      • From: Mike Abdullah <email@hidden>
    • Re: Knowing when an app is launched and becomes active?
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: CoreData, reset a persistent store
  • Next by Date: Re: Knowing when an app is launched and becomes active?
  • Previous by thread: Re: Cocoa Bindings - removeObserver if I know the observed instance
  • Next by thread: Re: Knowing when an app is launched and becomes active?
  • Index(es):
    • Date
    • Thread