From: Mathias Dahl <mathias.dahl@gmail.com>
Subject: Interfacing ActiveX/COM-objects "natively" in Emacs
Date: Sun, 27 Mar 2005 13:21:51 +0200 [thread overview]
Message-ID: <7dbe73ed05032703218114182@mail.gmail.com> (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
next reply other threads:[~2005-03-27 11:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-27 11:21 Mathias Dahl [this message]
2005-03-27 12:18 ` Interfacing ActiveX/COM-objects "natively" in Emacs 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
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=7dbe73ed05032703218114182@mail.gmail.com \
--to=mathias.dahl@gmail.com \
/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).