> It is working fine. But i am getting a message says another user is running
> the same application. But i am the only user using the application.Is there
> any way to customize the alert message? or any other solutions for this?

I doubt the message is customizable.

To implement the functionality yourself, see NSWorkspace's
-launchedApplications. (That only returns the apps running in the
current user's session, though. If you only want to allow one instance
for the entire machine, you'll need to use lower-level APIs.) With
that said, I'd just use LSMultipleInstancesProhibited and file a bug
with Apple regarding the error message.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to