Ken,

I tried your code, adding "use Win32::OLE; " at the beginning, and using my site (biblescramble.com) instead of "http://whatever";. The browers pops up for a split second with my site. Now what?


*********************

It would probably be easier to drive IE via OLE

        my $ie = Win32::OLE->new('InternetExplorer.Application');

        $ie->Navigate("http://whatever";);

        $ie->{Toolbar} = 0;
        $ie->{StatusBar} = 0;
        $ie->{Width} = 800;
        $ie->{Height} = 400;
        $ie->{Left} = 0;
        $ie->{Top} = 0;

        while( $ie->{Busy} ) {
                Win32::Sleep(200);
        }

        $ie->{Visible} = 1;
        Win32::Sleep(200);

        print $ie->Document->Body->{InnerHTML};
        $ie->Quit;

************************

This may be a socket question.

Is there a way to read the data coming into my computer to a file on its
way
to my browser?  Is there a way to intercept what the browser is going to

send to the internet, change it, and then send it out? Man, that would
make
scraping the internet a piece of cake!

Jerry Kassebaum


_______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to