> Date: Sat, 28 May 2022 08:43:13 +0800
>
From: Po Lu <
luangruo@yahoo.com>
>
To: Richard Stallman <
rms@gnu.org>
>
Cc:
emacs-devel@gnu.org>
Subject: Re: ns-do-applescript
>
Message-ID: <
87leumebby.fsf@yahoo.com" target="_blank">
87leumebby.fsf@yahoo.com>
>
Content-Type: text/plain
>
Richard Stallman <
rms@gnu.org> writes:
>
> I have never heard of "osascript". What is that? What systems
>
> support it? Does it exist on GNU/Linux?
>
It's only present in macOS.
Right
> > Basically, what are the differences that make it better to use
> > osascript than applescript?
> I think that binary _is_ Apple's proprietary AppleScript interpreter,
Indeed it is
> but using it in a subprocess to retrieve only contacts data (which is
> already possible on free systems) must be more acceptable than Emacs
> including a C primitive to do the same thing.
Not only that. You can do things like raising Emacs to the top and other system actions that would otherwise require (Objective-)?C functions in the Emacs executable.
Best, /PA
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet