• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Launch Notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSCalendarDate Bug
  • Next by Date: best way to test for NSString / NSCFString type of object?
  • Previous by thread: Re: Launch Notification
  • Next by thread: Is NSMutableArray slow?
  • Index(es):
    • Date
    • Thread