unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Interfacing ActiveX/COM-objects "natively" in Emacs
@ 2005-03-27 11:21 Mathias Dahl
  2005-03-27 12:18 ` David Kastrup
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Mathias Dahl @ 2005-03-27 11:21 UTC (permalink / raw)


(I apologize if this is the wrong group for discussing this. I was
thinking of posting to help-emacs-windows@gnu.org, but my question is
from a developer standpoint more than a user, so...)

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.

Basically, what I need is "only" to instantiate different
ActiveX/COM-objects and use the methods and properties they provide,
not the VBScript programming language itself.

I remember reading about someone trying to make Emacs an
ActiveX-object, and although that sounds interesting, this is not what
I think is needed here. I also remember seeing that Python has some
module that is capable of doing ActiveX-work.

OK, enough blabbing, here is my question: what would be needed to make
it possible doing this more "natively" from Emacs? Is it possible
without rewriting major parts of Emacs?

Would it be possible to do using some "plug-in" dll? Is anyone else
besides be interested in it? In my opinion, it would be quite useful
for accessing Windows-specific things like Registry data, automating
"ActiveX-enabled" software (both proprietary and Free).

Thanks for you time.

/Mathias

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-03-29  8:54 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-03-28 16:26 ` Richard Stallman
2005-03-28 20:15 ` Jérôme Marant

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).