Re: How to force launch of new instance of application?
Re: How to force launch of new instance of application?
- Subject: Re: How to force launch of new instance of application?
- From: "Gary L. Wade" <email@hidden>
- Date: Tue, 24 May 2011 09:29:39 -0700
Sandboxing may give you the option you really want. Look at the way Google's Chrome and WebKit 2 do their plugins.
- Gary L. Wade (Sent from my iPhone)
On May 24, 2011, at 9:13 AM, Jay Reynolds Freeman <email@hidden> wrote:
> I would like to set things up for my application so that every
> time the user mouses on a document of the application to open it,
> a *new* instance of the application is launched to handle just
> that one document. Thus if the user moused on many documents,
> many instances of the application would be running at the same
> time.
>
> The best way I have thought of of doing that is to write an
> [NSApplication openFile] method for the app, that performs
> any necessary extra launch. That is kind of inelegant, though.
> Can anyone recommend a better way? I haven't found any way to
> specify this behavior so that the system knows about it at
> mouse-the-document time, and thus can do what is necessary without
> my intervention.
>
> Details as to why I want this behavior are long and probably
> irrelevant, contact me privately if you would like to know ...
>
> Thanks!
>
> -- Jay Reynolds Freeman
_______________________________________________
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