emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ns-do-applescript


From: Howard Melman
Subject: Re: ns-do-applescript
Date: Thu, 26 May 2022 10:07:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin)

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

>> Can we re-implement `ns-do-applescript` as an ELisp function that runs
>> `osascript`?
>
> you mean something like:
> ;; (ns-do-applescript "tell application \"Emacs\" to activate"))
>  (call-process "osascript" nil nil nil "-e" "tell application \"Emacs\" to 
> activate")
>
> Isn't it easier to explain than to actually write a function? ;-)

And the return value that ns-do-applescript handles?

-- 

Howard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]