[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Connecting to applications
From: |
Stefan Böhringer |
Subject: |
Re: Connecting to applications |
Date: |
09 May 2003 18:20:36 +0200 |
Under OPENSTEP there used to be a mechanism to have arbitrary bundles
loaded into all Applications launched. Such a bundle could of course
expose key application objects via DO.
I'm ignorant as to whether Cocoa advertises a similar mechanism and
GNUstep doesn't as far as I can tell.
Best wishes,
Stefan
On Fri, 2003-05-09 at 17:43, Stefan Urbanek wrote:
> Hi,
>
> I want to create 'Common scripting environment', where you can tie
> applications and their abilities together to complete your task. See
>
> http://wiki.gnustep.org/index.php/Scriptable%20Environments
>
> From applications point of view: To be able to do this, applications have to
> advertise public methods and objects. From script point of view: Users need
> to connect to the application.
>
> The later thing needs to be implemented in steptalk. My question is, that
> whether there is a clean way of connecting to an application? What i want is
> to launch an application if it is not running and connect to the running
> application. By connecting I mean to get distant object proxy for the
> application (some well defined object).
>
> I have seen, that there is -[NSWorkspace _connectApplication:] and this
> method seems to be what i want. Is it possible to document its behaviour and
> make it public as an GNUstep extension?
>
> Stefan