Re: Talking to other apps - again
Re: Talking to other apps - again
- Subject: Re: Talking to other apps - again
- From: Jens Alfke <email@hidden>
- Date: Tue, 05 Aug 2014 22:46:27 -0700
> On Aug 5, 2014, at 10:06 PM, Gerriet M. Denkmann <email@hidden> wrote:
>
> Scripting Bridge SBObject has a sendEvent:id:parameters:. Not sure I want to use this.
It seems like your best bet, actually.
The typical route is that you implement scriptability in the target app, including the terminology file that describes what commands and objects it handles, and then you can have the scripting bridge tool generate a header for that app, which declares a subclass of SBApplication that has methods corresponding to the app's scriptable commands. But under the hood, those methods just turn into calls to sendEvent:id:parameters.
I'm surprised IPC still sucks so badly. I haven't used XPC, but I thought it was a general-purpose solution for messaging between apps, not just for communicating with your app's own helper processes.
—Jens
_______________________________________________
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