[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:03:41 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) |
Richard Stallman <rms@gnu.org> writes:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> > I do use it for simple interaction with the Finder and Safari such as:
>
> > (do-applescript "tell application \"Safari\" to get the name of
> window 1")
> > (do-applescript "tell application \"Safari\" to get the URL of
> document 1")
>
> Is it possible to do this with call-process
> or by running a shell command?
I think so, though I have to figure out the right
incantation to get stdout returned as a string. I might be
nice if call-process' DESTINATION arg had an option for this.
--
Howard
- ns-do-applescript, Po Lu, 2022/05/23
- Re: ns-do-applescript, Filipp Gunbin, 2022/05/23
- Re: ns-do-applescript, Po Lu, 2022/05/23
- Re: ns-do-applescript, Daniel MartÃn, 2022/05/24
- Re: ns-do-applescript, Stefan Monnier, 2022/05/24
- Re: ns-do-applescript, Howard Melman, 2022/05/25
- Re: ns-do-applescript, Richard Stallman, 2022/05/26
- Re: ns-do-applescript,
Howard Melman <=
- Re: ns-do-applescript, Andreas Schwab, 2022/05/26
- Re: ns-do-applescript, Howard Melman, 2022/05/26
- Re: ns-do-applescript, Andreas Schwab, 2022/05/26
- Re: ns-do-applescript, Richard Stallman, 2022/05/26
- Re: ns-do-applescript, Po Lu, 2022/05/26
- Re: ns-do-applescript, Richard Stallman, 2022/05/27
- Re: ns-do-applescript, Po Lu, 2022/05/27
- Re: ns-do-applescript, Richard Stallman, 2022/05/29
- Re: ns-do-applescript, Po Lu, 2022/05/29
- Re: ns-do-applescript, chad, 2022/05/31