Sign in to follow this  
Followers 0
mnb

IE Download Dialog Box Save Button

4 posts in this topic

After the File Download dialog box pops up, I try to use the following script to click the Save button.

WinActivate("File Download")

ControlClick("File Download", "", "[CLASS:Button; INSTANCE:2]")

However, the Save button is not clicked but highlighted instead. Any suggestions to get the Save button clicked?

Thanks.

Share this post


Link to post
Share on other sites



Hello mnb and Welcome to the Forum

im new to autoit so i wouldnt know much but a quick google search led me to this

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thank you very much, KiwiCoder. It works by adding the sleep function to delay clicking the button.

Working Script:

WinActivate("File Download")

Sleep ("1000")

ControlClick("File Download", "", "[CLASS:Button; INSTANCE:2]")

Edited by mnb

Share this post


Link to post
Share on other sites

I know this is old but ontop of what you wrote is there way to also put the file name with he destination and click the save button

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  
Followers 0