Re: Intercepting application start?
Re: Intercepting application start?
- Subject: Re: Intercepting application start?
- From: Mike Abdullah <email@hidden>
- Date: Thu, 6 Sep 2007 11:45:59 +0100
Yes, something like:
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self
selector:@selector(someMethod:) name:
NSWorkspaceWillLaunchApplicationNotification object:nil];
On 6 Sep 2007, at 04:36, Timothy Reaves wrote:
Is there any means to intercept a Cocoa application starting? I'd
like a script to run every time I run a Cocoa application, and I'd
prefer to use an intercept. Does OS X provide any such mechanism?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40mikeabdullah.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden