Jump to content

IE Download Dialog Box Save Button


mnb
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 8 months later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...