RubyCOM, ActiveScriptRuby, etc


(HAL 9000) #1

I ask this periodically in hopes that
new people will see it. Forgive the
repetition.

Who out there is interested in these
topics? Other than Ralph Mason and
arton, I mean.

I’m trying with limited success to
use Ruby as a scripting tool for the
HomeSeer home automation program. I’m
an enthusiastic user and otherwise
unaffiliated (see www.homeseer.com).
And no, there’s not a Linux version. :frowning:

Any interest, email me.

Thanks,
Hal Fulton


(James) #2

I ask this periodically in hopes that
new people will see it. Forgive the
repetition.

Who out there is interested in these
topics? Other than Ralph Mason and
arton, I mean.

Which topics? RubyCOM and ActiveScriptRuby, or HomeSeer, or the
combination?

I’m very interested in RubyCOM and ActiveScriptRuby, but don’t have any
real use for HomeSeer.

James


(HAL 9000) #3

Well, I’m looking for someone at least willing/able to
help me mess with HomeSeer. That may not be you…

arton is very helpful, but is unable to install HS on
his (Japanese) Windows box… Ralph Mason is also
knowledgeable and helpful, but busy, as we all are.

I won’t try to sell you on HS, but FYI, it can run
without any extra hardware. Also it could theoretically
be useful even if you don’t do home automation, as it
interfaces with MS Agent (for voice rec, etc.) and can
easily launch external apps, do COM stuff with other
apps, handle timed events, etc.

The “right” thing to do would be to use ASR directly
from within HS. It just doesn’t work for me, and I’ve
yet to find a way to begin to find why not. It’s quite
possible that it works and I’ve simply done something
wrong.

As a workaround, RubyCOM works for me… I can call a
Ruby program from a one-line VBScript program in a
specific, clunky way. I’m unfamiliar with COM in general,
and it’s hard for me to see what I can and can’t do.

Anyway, just trolling for tech support. :slight_smile:

Thanks,
Hal Fulton

···

----- Original Message -----
From: james@rubyxml.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Monday, June 10, 2002 1:56 AM
Subject: RE: RubyCOM, ActiveScriptRuby, etc.

I ask this periodically in hopes that
new people will see it. Forgive the
repetition.

Who out there is interested in these
topics? Other than Ralph Mason and
arton, I mean.

Which topics? RubyCOM and ActiveScriptRuby, or HomeSeer, or the
combination?

I’m very interested in RubyCOM and ActiveScriptRuby, but don’t have any
real use for HomeSeer.


(James) #4

The “right” thing to do would be to use ASR directly
from within HS. It just doesn’t work for me, and I’ve
yet to find a way to begin to find why not. It’s quite
possible that it works and I’ve simply done something
wrong.

As a workaround, RubyCOM works for me… I can call a
Ruby program from a one-line VBScript program in a
specific, clunky way. I’m unfamiliar with COM in general,
and it’s hard for me to see what I can and can’t do.

I did take a look at it, but could not find a way to tell HomeSeer what
scripting language to use. I think this is something set at compile time,
so if HomeSeer isn’t built to understand ActiveRubyScript it won’t know how
to load and execute the scripts. Anyway, it’s been a while since I wrote
any Windows Scripting Interface stuff (though it is nice to use).

James

···

Anyway, just trolling for tech support. :slight_smile:

Thanks,
Hal Fulton


(HAL 9000) #5

I did take a look at it, but could not find a way to tell HomeSeer what
scripting language to use. I think this is something set at compile
time,
so if HomeSeer isn’t built to understand ActiveRubyScript it won’t know
how
to load and execute the scripts. Anyway, it’s been a while since I wrote
any Windows Scripting Interface stuff (though it is nice to use).

Here’s all I know/guess about that.

A developer at HS said that it would be trivial to support
Ruby if I could provide him the “magic string” (my term, not
his). arton told me this was “RubyScript”. So Rich H. at HS
sent me a binary that supported this. Never worked for me,
though. As for whether HS still knows this magic string, I
couldn’t say; I asked Rich about that today in email.

As for choice of scripting languages, I know that HS supports
both VBscript and Perl(Script) out-of-the-box. I believe that
it just uses the file extension for this purpose: VBScript
scripts have to have a “.txt” extension, for instance, and I
think it’s “.pl” for Perl (and I assume .rb for Ruby).

Hal Fulton

···

----- Original Message -----
From: james@rubyxml.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Monday, June 10, 2002 11:05 AM
Subject: RE: RubyCOM, ActiveScriptRuby, etc.