Knowing when an app is launched and becomes active?
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