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

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".

Replies are listed 'Best First'.
Re^4: IE & File Open
by Portree (Novice) on Jul 25, 2005 at 19:05 UTC
    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

Re^4: IE & File Open
by Portree (Novice) on Jul 25, 2005 at 20:07 UTC
    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.
        Hi Again ikegami,

        I saw this script, but it doesn't tell me how to incorporate it into my code. Below is the code that I have if that helps you:

        use strict; use Win32::OLE; my ($brio, $Process); #$brio = '//163.10.50.33/planning/logistics/programs/B_Chicago_wip_que +ry.bqy'; $brio = 'D:\\Chicago wip query.bqy'; my $ie = Win32::OLE->new("InternetExplorer.Application") or die "Can't + start IE\n"; $ie->{visible} = 1; #$ie->navigate("http://www.perlmonks.org"); $ie->{visible} = 1; sleep 3; $ie->navigate($brio); sleep 5; $ie->click_button(value => 'Process');

        I am sorry if this is too newbie of a question, I am just trying to figure out how to fit it in. Also, I know it is going to give me a pop-up window that is going to ask me for a password, so I may need more help there as well. Thank you for your help.

        Regards,
        Portree