[ruby-talk:02592] Ruby and WSH

From: h.fulton@...
Date: 2000-04-27 15:58:48 UTC
List: ruby-talk #2592
Here's an idea for the future.

No Micro$oft flames, please. I use Windows with some
degree of reluctance myself.

There is a slightly obscure bit of software called the
Windows Script Host, available since Win95 and built-in
since Win98.

It's a language-independent scripting engine that 
exposes a reflection-type object model and allows
Windows functions and operations to be automated. It
comes with two languages, VBscript (similar to Visual
Basic) and JScript (nearly identical to JavaScript).

It is theoretically possible to interface any language
to this engine. Someone has done it for Perl (and I 
think Python also).

How that is done, I confess I don't know. It involves
COM, I know.

Anyway, I was just thinking that a Ruby interface would
be a good project for someone knowledgeable about such
things.

If you must use Windows, it's nice to be able to script
it; and if you script, it's nice to be able to use Ruby.

Hal Fulton

In This Thread

Prev Next