Jump to content
Sign in to follow this  
aantix

Surpress Download File Dialog?

Recommended Posts

aantix

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.

Share this post


Link to post
Share on other sites
JSThePatriot

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.

JS


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)

Share this post


Link to post
Share on other sites
this-is-me

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


Who else would I be?

Share this post


Link to post
Share on other sites
Josbe

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

<{POST_SNAPBACK}>

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

Share this post


Link to post
Share on other sites
Matt @ MPCS

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

Share this post


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
Sign in to follow this  

×