Mathias Dahl <[EMAIL PROTECTED]> 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



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to