MS Windows automation - howto use it?

Ruby simply talk to the COM automation server that the office
applicatiosn expose. What that means is that it simply talks to the same
object model that macros in Vbscript talk to.

So whats the simply way of figuring out whats avilable? Simply just look
at the Object Browser that comes with office application. You can launch
the Vbscript editor that comes in Word or any of the other office apps
and then take a look at the Object Browser. This basically uses a COM
based reflection API to show you everything that office can do.

Further, if you pick up a book about VBA (Visual Basic for Applications)
programming, it will show a large part of the commonly used objects and
API.

Roshan

Hm - how hard would it be to get at this reflection API from ruby?

martin

···

Roshan James <roshanj@microsoft.com> wrote:

So whats the simply way of figuring out whats avilable? Simply just look
at the Object Browser that comes with office application. You can launch
the Vbscript editor that comes in Word or any of the other office apps
and then take a look at the Object Browser. This basically uses a COM
based reflection API to show you everything that office can do.

Hm - how hard would it be to get at this reflection API from ruby?

martin

OLE object browser, in Ruby.

http://homepage1.nifty.com/markey/ruby/win32ole/index_e.html

Adelle.

Thanks! That's pretty nifty.

martin

···

Adelle Hartley <adelle@bullet.net.au> wrote:

> Hm - how hard would it be to get at this reflection API from ruby?

OLE object browser, in Ruby.

http://homepage1.nifty.com/markey/ruby/win32ole/index_e.html