PerlSufi has asked for the wisdom of the Perl Monks concerning the following question:
The 'Opening..' windows just hangs there. I just want it to somehow select 'Ok'. Any tips or meta-hints on what I'm doing wrong is greatly appreciated!use WWW::Mechanize::Firefox; use Win32::GuiTest qw ( SendKeys SetForegroundWindow FindWindowLike MouseClick ); my $mech = WWW::Mechanize::Firefox->new(); $mech->get($downloadpage); #At this point I'm prompted to download the file.. Win32::GuiTest::FindWindowLike('Opening dailyfiles_txt.tar'); Win32::GuiTest::SendKeys("{ENTER}");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Downloading with Win32::GuiTest
by Corion (Patriarch) on Jul 01, 2013 at 17:51 UTC | |
by PerlSufi (Friar) on Jul 01, 2013 at 18:03 UTC | |
|
Re: Downloading with Win32::GuiTest
by dasgar (Priest) on Jul 01, 2013 at 18:39 UTC | |
by PerlSufi (Friar) on Jul 01, 2013 at 19:43 UTC |