How to tell if app launched via login item (versus manual launch)
How to tell if app launched via login item (versus manual launch)
- Subject: How to tell if app launched via login item (versus manual launch)
- From: "Mark Aufflick" <email@hidden>
- Date: Wed, 26 Nov 2008 17:38:51 +1100
Hi all,
I'm wondering if it's possible to tell if my application was launched
normally by the user, or if it was launched by virtue of being in the
login items.
I don't see anything in NSApplication to that effect. I'm guessing the
parent process might be different, but I'm hoping there is a standard
non-fragile way of doing it?
Cheers,
Mark.
--
Mark Aufflick
contact info at http://mark.aufflick.com/about/contact
_______________________________________________
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