Jump to content

Surpress Download File Dialog?

Recommended Posts

I've automated a web page to fill out several form fields and click the submit button.

When I do this, the "File Download" dialog appears prompting me to hit the save button and then enter the filename to save the download as.

Is there a way via AutoIt that I can tell the system beforehand to hide the "File Download" and "Save As" dialogs?

Thanks in advance.

Link to post
Share on other sites

I dont know about before hand, but you can certainly hide the windows as soon as they come up. So it would be a small flash on the screen. There also may be a windows setting to just automatically save the files without prompt.


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Link to post
Share on other sites

I would suggest urldownloadtofile to download the files instead of using IE for them at all.


Yeah. :)

@aantix: You also could create your own procedure for a 'fast answer', when this window it's displayed. With some Win* functions...of course. :)

Edited by josbe
Link to post
Share on other sites

If the process you are automating requires Internet explorer for some reason (possibly not always downloading the same file) then you could write a real simple download manager (which wraps the URLDownloadFile or InetGet functions). I think there is a way to change the default download manager for internet explorer, you could then temporarily set it as such.

*** Matt @ MPCS

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...