Skip to content Skip to sidebar Skip to footer

Click Save Button On Explorer Download Popup

I'm trying to automate getting a file from a web page. It opens the Save Download window with the 3 usual choices (Open, Save, and Cancel). I'm trying to click on the Save button b

Solution 1:

Found the solution myself!

Needed to put setactiveWindow in first!

SetActiveWindow(xAsIntPtr)
    SendMessageW(WindowHandle, WM_ACTIVATE, New IntPtr(WA_ACTIVE), IntPtr.Zero)
    SendMessageW(WindowHandle, BM_CLICK, IntPtr.Zero, IntPtr.Zero)

Pete

Post a Comment for "Click Save Button On Explorer Download Popup"