all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: emacs-devel@gnu.org
Subject: Re: Changes 2009-07-15/16 in branch?
Date: Tue, 28 Jul 2009 13:25:11 -0500 (CDT)	[thread overview]
Message-ID: <20090728.132511.262626447.hanche@math.ntnu.no> (raw)
In-Reply-To: <E1MVGBo-00044w-L1@fencepost.gnu.org>

+ Richard Stallman <rms@gnu.org>:

> What is Applescript?  What does it do?

It provides a way for programs to control applications without the
need for GUI interaction. (IMO, an absolute necessity in a
GUI-dominated world.)

>  Can you show me an example of what people do with it?

Here is a banal example:

(ns-do-applescript
 "tell application \"TextEdit\" to open \"/Users/hanche/Desktop/Info.rtf\"")

This opens an existing RTF file in TextEdit and returns t if
successful. More specialized control is possible if the application in
question provides a dictionary of applescript commands pertaining to
that program.

I am not sure how this functionality can be replaced by DBUS, unless
someone comes up with a program that will accept applescript requests
via DBUS and run them. I can't comment on the feasibility of writing
such a program.

> How does it relate to Emacs?  Does it mean people can extend Emacs
> with Applescript programs?  Or can they only run Emacs from it, like
> from a shell script?

As far as I can tell, emacs does not provide an applescript
dictionary, so only rudimentary control is available. For instance,
you can run

  osascript -e 'tell application "emacs" to open "/etc/passwd"'

from the command line and it does what you might expect. But extending
emacs with applescript? I don't think so.

Does this answer your question?

- Harald




  parent reply	other threads:[~2009-07-28 18:25 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 11:22 Changes 2009-07-15/16 in branch? Adrian Robert
2009-07-23 12:46 ` YAMAMOTO Mitsuharu
2009-07-23 15:30   ` Stefan Monnier
2009-07-24  0:23     ` YAMAMOTO Mitsuharu
2009-07-24  1:09       ` Stefan Monnier
2009-07-24  1:27         ` YAMAMOTO Mitsuharu
2009-07-24  1:37           ` Stefan Monnier
2009-07-24  2:20             ` YAMAMOTO Mitsuharu
2009-07-24  3:17               ` Stefan Monnier
2009-07-24  3:35                 ` YAMAMOTO Mitsuharu
2009-07-24  3:44                   ` Jason Rumney
2009-07-24  4:12                     ` YAMAMOTO Mitsuharu
2009-07-25  2:13                       ` YAMAMOTO Mitsuharu
2009-07-26  2:22                         ` Richard Stallman
2009-07-26  2:35                           ` YAMAMOTO Mitsuharu
2009-07-26  3:31                             ` Miles Bader
2009-07-26  3:45                               ` YAMAMOTO Mitsuharu
2009-07-27  2:44                             ` Richard Stallman
2009-07-27  3:20                               ` YAMAMOTO Mitsuharu
2009-07-27 17:41                                 ` Richard Stallman
2009-07-27 18:41                                   ` Clifford Wulfman
2009-07-28  4:37                                     ` Richard Stallman
2009-07-28 13:18                                       ` Clifford Wulfman
2009-07-28 17:14                                         ` Richard Stallman
2009-07-28 18:39                                           ` Alfred M. Szmidt
2009-07-28 20:31                                             ` Ian Eure
2009-08-01  3:21                                               ` Richard Stallman
2009-08-01  4:10                                                 ` Ian Eure
2009-08-01  6:28                                                   ` Stephen J. Turnbull
2009-08-02  4:44                                                   ` Richard Stallman
2009-07-28 22:05                                           ` James Cloos
2009-07-29 20:13                                             ` Richard Stallman
2009-07-29 22:05                                               ` YAMAMOTO Mitsuharu
2009-07-30  7:53                                               ` YAMAMOTO Mitsuharu
2009-07-30 14:01                                                 ` Chong Yidong
2009-07-31  1:56                                                   ` YAMAMOTO Mitsuharu
2009-07-27 20:14                                   ` David De La Harpe Golden
2009-07-28  6:10                                     ` YAMAMOTO Mitsuharu
     [not found]                                     ` <EFBC3E4E-8739-4B16-8797-D9CA8BC290CD@gmail.com>
2009-07-28 20:33                                       ` David De La Harpe Golden
2009-07-28  0:53                                   ` YAMAMOTO Mitsuharu
2009-07-28 17:14                                     ` Richard Stallman
2009-07-24 19:25                   ` Stefan Monnier
2009-07-29  0:22         ` YAMAMOTO Mitsuharu
2009-07-29  1:12           ` Chong Yidong
2009-07-29  1:18             ` YAMAMOTO Mitsuharu
2009-07-29  4:48               ` YAMAMOTO Mitsuharu
2009-07-29  1:29             ` YAMAMOTO Mitsuharu
2009-07-24 14:34   ` Adrian Robert
2009-07-25  1:15     ` YAMAMOTO Mitsuharu
2009-07-25  4:55     ` Richard Stallman
2009-07-25 16:59       ` Adrian Robert
2009-07-27  2:43         ` Richard Stallman
2009-07-27  3:22           ` Adrian Robert
     [not found]             ` <E1MW1sm-0000lL-4K@fencepost.gnu.org>
2009-07-29 14:08               ` Harald Hanche-Olsen
2009-07-29 17:18                 ` Stefan Monnier
2009-07-30  7:35                 ` David Kastrup
2009-07-30 13:31                   ` Harald Hanche-Olsen
2009-07-28 18:25           ` Harald Hanche-Olsen [this message]
2009-07-29  2:34             ` Stephen J. Turnbull
2009-07-29  2:41               ` Lennart Borgman
2009-07-29  2:56                 ` Harald Hanche-Olsen
2009-07-29  3:33                 ` Stephen J. Turnbull
2009-07-29 20:14               ` Richard Stallman
2009-07-29 20:26                 ` Chad Brown
2009-07-30 15:35                   ` Richard Stallman
2009-07-30 16:37                     ` Harald Hanche-Olsen
2009-07-29 20:31                 ` Harald Hanche-Olsen
2009-07-30 15:35                   ` Richard Stallman
2009-07-30 16:22                     ` Harald Hanche-Olsen
2009-08-01  3:21                       ` Richard Stallman
2009-08-01  7:45                         ` CHENG Gao
2009-08-01  9:36                           ` CHENG Gao
2009-08-02  4:43                           ` Richard Stallman
2009-08-02  7:06                             ` CHENG Gao
2009-08-03 16:17                               ` Richard Stallman
2009-08-03 20:03                                 ` CHENG Gao
2009-07-29 14:12           ` Stefan Monnier
2009-07-27  0:35 ` YAMAMOTO Mitsuharu
2009-07-27  3:12   ` Adrian Robert
2009-07-29  3:23 ` Sean O'Rourke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090728.132511.262626447.hanche@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.