"Wayne Blair" <wayne.blair / relian.com> wrote in message news:<3jQQ6.35776$v5.3003148 / news1.rdc1.ct.home.com>...
> "Sloth" <mt_horeb / yahoo.com> wrote in message
> news:67abb823.0105290613.37f8679f / posting.google.com...
> > Is anyone aware of a way to automatically open and redirect a web
> > browser (under Win) using Ruby?  In Python, there is a webbrowser()
> > method that allows a script to open a browser to a given location.
> >
> > Thanks in advance!  I'm trying to convert my Python code to Ruby just
> > as fast as I can!!!
> >
> > Jeremy.
> 
> Yeah, it's real easy:  You can see Microsoft documentation for OLE commands
> IWebBrowser2 - I tried quite a few and they all worked.  Here's an example
> from
> the pickaxe book:
> 
> require 'win32ole'
> 
> ie = WIN32OLE.new('InternetExplorer.Application')
> ie.visible = true
> ie.gohome
> 
> 
> # to navigate, for example:  ie.navigate(url)

Cool!  It works!  Thank you for the help!

Jeremy