Re: Knowing when an app is launched and becomes active?
Re: Knowing when an app is launched and becomes active?
- Subject: Re: Knowing when an app is launched and becomes active?
- From: Mike Abdullah <email@hidden>
- Date: Wed, 15 Nov 2006 17:13:16 +0000
Have a look at the entries for the last ironcoder competition.
There's one in there that does exactly what you're after and the
source is freely available.
Mike.
On 15 Nov 2006, at 17:06, Marc Respass wrote:
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:
40gmail.com
This email sent to email@hidden
_______________________________________________
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