• 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
prevent multiple instances of a program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

prevent multiple instances of a program


  • Subject: prevent multiple instances of a program
  • From: Martin Batholdy <email@hidden>
  • Date: Wed, 11 May 2011 23:02:36 +0200

Hi,

My program consists of a menu item and is NSUIagent - so it is hidden in the Mac OS app-bar.

Now what surprises me is that I am able to open several instances of this program.
Every time I click on the app-file a new symbol appears and I have a new instance of my program running.

How can I prevent this?
(so that system-wide you can only have one instance of the program running)

Is there a build-option in xCode for this?


thanks!_______________________________________________

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

  • Follow-Ups:
    • Re: prevent multiple instances of a program
      • From: Ken Thomases <email@hidden>
    • Re: prevent multiple instances of a program
      • From: Dave DeLong <email@hidden>
  • Prev by Date: QuickTime Player - like application
  • Next by Date: Re: prevent multiple instances of a program
  • Previous by thread: Re: QuickTime Player - like application
  • Next by thread: Re: prevent multiple instances of a program
  • Index(es):
    • Date
    • Thread