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 11:20:28 -0700
- Thread-topic: How to force launch of new instance of application?
In that case, look at the way AppleScript (and Automator, I assume) do
this. If I recall correctly, they create an application, according to the
OS's definition, that launches a small interpreter that fires off the
AppleScript.
Depending on how much or little you want to include in each small app, you
could utilize a framework that is called upon by the tiny interpreter.
If all you have is a script, though, you could utilize the shell launch
mechanism as an alternative and make sure the file its executable bit set.
On 05/24/2011 9:48 AM, "Jay Reynolds Freeman"
<email@hidden> wrote:
>My app is a Scheme (Lisp dialect) interpreter; I want users to be able to
>create stand-alone Scheme programs as saved worlds (the document type in
>question) and run their programs simply by mousing on the world in
>question. I would like to allow users to be running more than one such
>program at a time, and the Scheme interpreter itself can only run one
>world at a time, hence the requirement.
>
>-- Jay Reynolds Freeman
>---------------------
>email@hidden
>http://web.mac.com/jay_reynolds_freeman (personal web site)
>
>
>On May 24, 2011, at 9:29 AM, Gary L. Wade wrote:
>
>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.
>
_______________________________________________
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