| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Jan 12, 2007, at 2:00 PM, Daniel Birns wrote:
John,
You're right. Using XCode this happened all the time.
Also, it appears to happen if you have copied the app to 2 different locations, and click on both the different locations.
Which brings up a related issue: currently we're planning to distribute with a .DMG file that contains the app and perhaps a readme file with the expectation that the user will know to copy this to a convenient place: perhaps the desktop, perhaps the Applications folder. Is this a reasonable assumption? And if so, what happens if they move it later? In particular, the file associations seem to be to a particular path to the app, and if that path changes, what happens to the file associations?
--Daniel
----------------------------------------CC: email@hidden From: email@hidden Subject: Re: One instance of app running Date: Fri, 12 Jan 2007 13:35:54 -0800 To: email@hidden
Perhaps your application bundle is set up wrong? Without going to extreme measures it's usually not possible to make a Mac app which can launch multiple instances.
On Jan 12, 2007, at 1:26 PM, Daniel Birns wrote:
All,
I need to ensure that there's only one instance of my app running. Some of this seems to happen automatically -- for example, if I click on my doc-type, it starts up the app if it's not running, or sends an open doc event to it if it is running. But if I click on the app it starts another instance, and this is what I don't want to have happen. Instead, I'd like it to turn into a reopen apple event to the existing instance.
--Daniel _________________________________________________________________ Fixing up the home? Live Search can help. http://imagine-windowslive.com/search/kits/default.aspx? kit=improve&locale=en-US&source=wlmemailtaglinenov06 _______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/jstiles% 40blizzard.com
This email sent to email@hidden
_________________________________________________________________ Try amazing new 3D maps http://maps.live.com/?wip=51
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >RE: One instance of app running (From: Daniel Birns <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.