Re: Getting the front process path
Re: Getting the front process path
- Subject: Re: Getting the front process path
- From: Dave Keck <email@hidden>
- Date: Thu, 12 Mar 2009 17:46:26 -1000
Try:
NSDictionary *frontAppInfo = [[NSWorkspace sharedWorkspace] activeApplication];
NSString *pathToActiveApp = [frontAppInfo objectForKey: @"NSApplicationPath"];
NSLog(@"%@", pathToActiveApp);
_______________________________________________
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