More code about Ruby and Microsoft Word

I so enjoyed Ralph Mason’s dictionary.rb script (a console script for
fetching word definitions from dictionary.com, available at
http://www.geocities.com/masonralph/lookup.txt ) that I decided I wanted to
use it in Microsoft Word. I originally tried doing this using Paul’s
RubyCOM, but ran into problems with failed chained dependencies on
socket.so. So I wrapped some simple VBA stuff around a shelled console call,
displaying the results in a VBA text box.

A description and the source code is available at:
http://www.jamesbritt.com/articles/RubyAndVbaForWebDictionarySearches.html

Nothing fancy, but a handy example for those looking for an easy way to
integrate arbitrary, console-based Ruby scripts into Office applications.

James Britt

You might also be interested in Ruby/DICT, then:

http://www.caliban.org/ruby/ruby-dict.shtml

Ian

···

On Tue 13 Aug 2002 at 00:50:20 +0900, JamesBritt wrote:

I so enjoyed Ralph Mason’s dictionary.rb script (a console script for
fetching word definitions from dictionary.com, available at
Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos ) that I decided I wanted to
use it in Microsoft Word.


Ian Macdonald | The only real argument for marriage is that
ian@caliban.org | it remains the best method for getting
> acquainted. – Heywood Broun
>
>

You might also be interested in Ruby/DICT, then:

http://www.caliban.org/ruby/ruby-dict.shtml

Oh, very nice. Thanks!

James

···

Ian

Ian Macdonald | The only real argument for marriage is that
ian@caliban.org | it remains the best method for getting
> acquainted. – Heywood Broun
>
>