title: Save downloaded file in IE 11
body: <p>I'm trying to identify already opened IE window and save downloaded file [.xml]. I'm using <a href="http://www.tutorialspoint.com/online_xml_editor.htm" rel="nofollow noreferrer">this online XML editor</a> for testing purposes. So once "Do you want to open or save file.xml" popup window appears I need to save file automatically using of .vbs file.</p>
  
  <pre><code>Dim objIE
  Dim ObjShell
  Set ObjShell = CreateObject("Shell.Application")
  For Each wnd In ObjShell.Windows
    If InStr(1, wnd.FullName, "iexplore.exe", vbTextCompare) &gt; 0 Then
      Set objIE = wnd
      Exit For
    End If
  Next
  
  WScript.Sleep 500
  ObjShell.SendKeys "%{s}"
  </code></pre>
  
  <p>Script above returns runtime error:</p>
  
  <blockquote>
    <p>Object doesn't support this property or method: 'SendKeys'.</p>
  </blockquote>
  
  <p>Is there any way how can I save already downloaded file in IE11 using VBScript?</p>