Re: Never Mind the File Extensions
Re: Never Mind the File Extensions
- Subject: Re: Never Mind the File Extensions
- From: "Erik M. Buck" <email@hidden>
- Date: Wed, 8 May 2002 17:22:49 -0500
I don't think the NSWorkspace notification works at all for applications
that were not launched by NSWorkspace's launchApplication... methods. I
don't think any notification is currently sent for applications launched
from Finder or the Dock. If I am wrong, I need to know soon!
----- Original Message -----
From: "Finlay Dobbie" <email@hidden>
To: "Patrick Tescher" <email@hidden>
Cc: "Cocoa Developers" <email@hidden>
Sent: Wednesday, May 08, 2002 3:22 PM
Subject: Re: Never Mind the File Extensions
>
On Wednesday, May 8, 2002, at 03:20 PM, Patrick Tescher wrote:
>
>
> Apparently you can set up a notification whenever an application is
>
> launched
>
> from the Finder. Does anyone have any experience with this?
>
>
The Cocoa way is via NSWorkspace, but unfortunately the notification you
>
receive is a bit iffy and only gives you the application name as an
>
NSString. I filed a bug that this should also at least give the PID or
>
carbon PSN.
>
>
-- Finlay
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.