by macdos01 » Sat Oct 22, 2011 10:26 am
Hi all,
Although not quite a trigger betting question I have a macro which automatically uses IE to download a particular file. When downloaidng a file the 'file download' popup always appears with the save or open options. I have searched ages to find a way to either handle the popup cleanly (i.e. not using sendkeys or a macro recorder) or to prevent the dialog box popping up at all and for the file just to download to the default location.
I have found sites which claim to solve the problem both ways. In terms of handling the popup by getting a handle on the window and then a handle on the button - this is cool but when it comes to clicking on the button by using its handle the code has not worked.
In terms of adjusting IE's settings to just download the ifle and not prompt the user I have adjusted settings that make sense to me but the popup still appears.
If anyone has dealt with this situation and has an easy answer that would be appreciated. Thanks in advance.