[Top][All Lists]

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

Re: Interfacing ActiveX/COM-objects "natively" in Emacs

From: Kai Großjohann
Subject: Re: Interfacing ActiveX/COM-objects "natively" in Emacs
Date: Mon, 28 Mar 2005 17:53:40 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (usg-unix-v)

Mathias Dahl <address@hidden> 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.


reply via email to

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