[Wtr-general] Lists question
Attebery, Bill
Bill.Attebery at twtelecom.com
Fri Jul 21 13:58:32 EDT 2006
On 7/11/06, Bret Pettichord wrote:
This bothers me a lot. I need to add some diagnostics to
IE.attach in 1.5 trunk and then have you try it again and send the
diagnostics report. Don't let me forget about this.
Bret
Bret
I made some time to do some digging into the code (1.5.1.1054) and
discovered this in the IE::_find method
class IE
...
def self._find(how, what)
shell = WIN32OLE.new("Shell.Application")
ieTemp = nil
shell.Windows.each do |window|
next unless (window.path =~ /Internet Explorer/ rescue false)
Seems that in this context !~ would be desired in that last line, so I
tried that in place of the =~ and it worked for me -- my attach code
seems to work again.
What do you think?
The content contained in this electronic message is not intended to
constitute formation of a contract binding TWTC. TWTC will be
contractually bound only upon execution, by an authorized officer, of
a contract including agreed terms and conditions or by express
application of its tariffs.
This message is intended only for the use of the individual or entity
to which it is addressed. If the reader of this message is not the
intended recipient, or the employee or agent responsible for
delivering the message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to
the sender of this E-Mail or by telephone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060721/30217b83/attachment.html
More information about the Wtr-general
mailing list