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 | [reply] |
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 | [reply] [d/l] |
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.
| [reply] [d/l] |
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 | [reply] [d/l] |