Win32::OLE event handling and IE automation questions

2005-11-21 Thread Richard Bell
I was traveling last week and when I tried to send this to the list it bounced. Hopefully this will get through. _ From: Richard Bell [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 4:31 PM To: libwin32@perl.org Subject: Win32::OLE event handling and IE automation

Win32::OLE->MessageLoop and timeouts

2005-11-21 Thread Richard Bell
anything else in that amount of time. A second that is relative in the sense that the message loop will terminate if there are no events in that time. Something more or less like this MessageLoop( [AbsoluteTimeout [, NoEventTimeout]]) Thanks. Richard Bell

Win32::OLE crashes

2005-11-28 Thread Richard Bell
I'm trying to make some enhancements to Win32::IE::Mechanize that involve (in part) blocking popups. Several online examples suggest catching the NewWindow event and setting cancel true. When I attempt to do so I get Win32::OLE crashes. I've included an example program that exhibits the issue

RE: Win32::OLE crashes

2005-11-29 Thread Richard Bell
s, Richard |-Original Message- |From: Jan Dubois [mailto:[EMAIL PROTECTED] |Sent: Monday, November 28, 2005 7:21 PM |To: 'Richard Bell'; 'Jan Dubois'; libwin32@perl.org |Subject: RE: Win32::OLE crashes | |On Mon, 28 Nov 2005, Richard Bell wrote: |> I'm trying to make som

Possible bug in Win32::OLE

2005-12-29 Thread Richard Bell
f; # save new IE object print "self after push\n"; print Dumper($self); #$args[0]->Put( $ie->{application}); $args[0]->Put( $ie ); $args[1]->Put( 0 ); } } Curiously the code crashes on the 2nd popup window at http://www.gozer.org/mozilla/popup_tester/, not the first. Somewhat surprisingly, commenting out the push that attempts to save $popupself allows the code to run to completion. I'm uncertain why any of this occurs. Richard Bell [EMAIL PROTECTED]

Win32OLE likely bug and perl crashes

2006-01-05 Thread Richard Bell
my $ie = Win32::OLE->new( 'InternetExplorer.Application' ) or die( 'could not start IE on allowed NewWindow2' ); print "new ie $ie at HWND $ie->{HWND}\n"; $ie->{visible} = 1; $ie->{registerasbrowser} = 1; my $