in reply to IE & File Open

I think it's simply
use strict; use Win32::OLE; my ($brio); #This is the location where my brio query is held on the server $brio = '//172.21.75.45/planning/logistics/programs/B_Chicago_wip_quer +y.bqy'; #Then open up a new IE session my $ie = Win32::OLE->new("InternetExplorer.Application") or die "Can't start IE\n"; $ie->{visible} = 1; $ie->navigate($brio);

By the way, the block you commented out refreshes the page every five minutes, forever. You probably don't need it.

Replies are listed 'Best First'.
Re^2: IE & File Open
by Portree (Novice) on Jul 25, 2005 at 18:39 UTC
    Hi ikegami

    Thank you, that worked perfectly. It now does exactely what I was looking for. Now, to my next question. To run a query I need to simulate from the new program that opened in the IE window the pressing of a button marked "Process". Any idea how to do that?

    An alternate is to go within the program and press "Tools => Process Query => Current" So, not sure which would be easier with PERL.

    Once again, I really appreciate the help. Thank you.
    Portree

      How about you read the documentation, particularly the click method. If you still have problems, show us what you tried.

      By the way, "Perl" refers to the language, "perl" refers to the program which runs Perl scripts, but there's nothing called "PERL".

        Hello Once again ikegami

        Thank you for the link, while I did search for information regarding this functionality before I posted my question, I did not see this particular piece of information. I have read over the documentation that you pointed me towards and I am trying to incorporate it now. I will definately let you know if I have further questions.

        Regards,
        Portree

        OK, sorry if this is a stupid question, but what is "args" in the line

        $ie->click_button( %args )

        I found this within the code on the website you mentioned. I have looked it up within the search function, but so far no luck as to a description.

        Thanks
        Portree

      Hello All again,

      I have found the code

      $ie->click_button(%args)

      and I admit, I am not sure what to do with it. ikegami showed me a link and it shows this code for press_button, but I admit, I am not sure how to incorporate it into my script. The button that I want to press is titled "Process". I have tried all kind of variations on this. Any help is appreciated.

      Regards,
      Portree