RE: Launch Notification
RE: Launch Notification
- Subject: RE: Launch Notification
- From: Lance Drake <email@hidden>
- Date: Thu, 2 Oct 2003 17:09:48 -0600
i've got an invisible application (LSUIElement = YES) that needs to be
notified when the user tries to run it while it's already running (so
that it can give the user an option to quit it), if i set LSUIElement
to NO it's just a matter of implementing didBecomeActive: for NSApp,
but when it's invisible that doesn't work (since it never becomes
active)
any ideas on how to solve this problem vould be warmly welcome.
Hi Stefan,
Your app could, upon launching, scan the active processes and see if
you recognize 'yourself' - and quit as appropriate.
Lance Drake
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.