Hi folks, I am writing an application the replaces the Finder (by writing to com.apple.loginwindow/Finder). That bit is working fine and my application starts up normally as expected. However, it would be very useful if I could enable different behavior in my application depending on whether it is started as Finder or just launched by the user. Does anyone know of any mechanism for an application to detect if it is running as Finder?
I know that launchd pays special attention to the application it considers to be Finder since it will restart it when it exits, etc. So clearly launchd knows the PID/PSN of "Finder". Surely there's some way to ask for it, but I can't figure out how. Thanks. -MJ _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com