On Sat, Dec 13, 2008 at 12:14 PM, John Love <[email protected]> wrote: > if ([aDictionary valueForKey:@"NSApplicationName"] == @"My > Application") {
In addition to what the others have said, you should be checking the bundle ID if at all possible, not the name. A bundle ID is (intended to be) a unique identifier for an application, whereas a matching name could easily come from a completely different application which just happens to have the same name. Mike _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
