Jump to content

Recommended Posts

Posted

Hi,

I'll try to catch the 'inline' download window 'Do you want to open or save..'

Cannot figured out how.

Tryed with WinGetHandle/ControlGetHandle  (opt("WinTitleMatchMode",2)Opt("WinSearchChildren", 1) )

but no success.

Only some 'blind' ControlSend {tab]..{enter} forces a download.

 

Background:

a downloadfile is generated 'onClick'.

I need to measure the time between 'Click' and the file is available.
Additional steps would be to get the filename from the ''Do you want to open or save...' and press the save button.

Any hints?

Thank you,

Kai

Posted

kaimelzer, This UI Automation >example creates an event handler (UI Automation structure change event handler) which waits for the IE9, IE10 or IE11 notification bar to show up. If the notification bar contains a Save button the button is clicked and the notification bar closed. If not the notification bar is closed.

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...