Re: Detecting if application is running as Finder

2009-10-09 Thread Greg Guerin
Mike Joseph wrote: 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. Since launchd is

Detecting if application is running as Finder

2009-10-09 Thread Mike Joseph
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