kaimelzer Posted January 31, 2014 Posted January 31, 2014 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
LarsJ Posted January 31, 2014 Posted January 31, 2014 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. Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now