• 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
Re: Intercepting application start?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >*** JUNK MAIL ***Intercepting application start? (From: Timothy Reaves <email@hidden>)

  • Prev by Date: Waiting for a USB device to connect
  • Next by Date: Re: ObjC BOOL and boolean c expressions
  • Previous by thread: Re: *** JUNK MAIL ***Intercepting application start?
  • Next by thread: fetch and predicate help
  • Index(es):
    • Date
    • Thread