in reply to Re: IE & File Open
in thread IE & File Open

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

Replies are listed 'Best First'.
Re^3: IE & File Open
by ikegami (Patriarch) on Jul 25, 2005 at 18:43 UTC

    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

        Its arguments are a list of key/value pairs. Only one of name, number, + or value must be specified. * name => name Clicks the button named name. * number => n Clicks the nth button in the form. * value => value Clicks the button with the value value.
Re^3: IE & File Open
by Portree (Novice) on Jul 25, 2005 at 21:29 UTC
    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