unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: kai@emptydomain.de (Kai Großjohann)
Subject: Re: Interfacing ActiveX/COM-objects "natively" in Emacs
Date: Mon, 28 Mar 2005 17:53:40 +0200	[thread overview]
Message-ID: <87br93dawr.fsf@emptydomain.de> (raw)
In-Reply-To: 7dbe73ed05032703218114182@mail.gmail.com

Mathias Dahl <mathias.dahl@gmail.com> writes:

> Much of my Emacs-time is at work, using MS Windows. For some small
> hacks (those who read gnu.emacs.sources might have seen some of them)
> I have needed to access different COM-objects, and the only way to do
> that seems to be by using an external program, in my case cscript.exe,
> the command-line VBScript interpreter.
>
> The basic operation is to call cscript.exe with a vbscript file name
> and other arguments, let the script access the objects in question,
> put data on standard out, and let Emacs parse that data.
>
> This works quite well (apart from the overhead of calling the external
> program and parsing the data) but for each time I need to access a
> different object I need to write yet another small script for
> manipulating that particular object. It seems a bit awkward.

Is it possible to write a program that can be used for any kind of COM
object?  The program could read the name of the object as input, as
well as the methods to invoke.

There is something similar for Java: the BeanShell.  Basically, you
feed it Java statements, and it evaluates them.

Kai

  parent reply	other threads:[~2005-03-28 15:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-27 11:21 Interfacing ActiveX/COM-objects "natively" in Emacs Mathias Dahl
2005-03-27 12:18 ` David Kastrup
2005-03-27 13:27   ` Mathias Dahl
2005-03-28 16:26     ` Richard Stallman
2005-03-28 18:38       ` David Kastrup
2005-03-27 19:31   ` Eli Zaretskii
2005-03-27 19:48     ` David Kastrup
2005-03-27 20:00     ` Jan D.
2005-03-27 21:24       ` Mathias Dahl
2005-03-28  4:20       ` Eli Zaretskii
2005-03-28 10:07         ` David Kastrup
2005-03-28 11:06           ` Mathias Dahl
2005-03-28 14:33             ` Stefan Monnier
2005-03-28 18:42               ` David Kastrup
2005-03-28 21:31           ` Eli Zaretskii
2005-03-29  5:11             ` Jan D.
2005-03-29  8:54               ` David Kastrup
2005-03-28  5:28 ` Peter Lee
2005-03-28 15:53 ` Kai Großjohann [this message]
2005-03-28 16:26 ` Richard Stallman
2005-03-28 20:15 ` Jérôme Marant

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87br93dawr.fsf@emptydomain.de \
    --to=kai@emptydomain.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).