From: mully Date: 2007-01-18T04:25:07+09:00 Subject: Re: Attach to running IE instance without watir? Geoff Cheshire wrote: > David Mullet wrote: > > > shell = WIN32OLE.new('Shell.Application') > > shell.Windows.each do | window | > > Do you how I'd look for the URL instead of window.Document.Title? I'm > guaranteed to have a file name (with full path), but may not know the > title. Or could you point me to the docs where I could find all the > methods and properties? (I found them from IE, but not for > Shell.Application.) > > Thanks again! > Geoff > > -- > Posted via http://www.ruby-forum.com/. Each item in the the shell's Windows collection is an actual InternetExplorer object, so once you get to that object you will utilize the standard IE object's properties and methods: ie.LocationUrl ie.LocationName Here's some IE object docs: http://msdn.microsoft.com/workshop/browser/webbrowser/reflist_vb.asp Mully