Home > Net >  PowerShell :: Internet Explorer download dialog Num Lock On
PowerShell :: Internet Explorer download dialog Num Lock On

Time:12-07

I'm using PowerShell to scrape the web and I'm trying to bypass the download dialog of Internet Explorer.

enter image description here

Everywhere in the internet (enter image description here

What am I doing wrong?

CodePudding user response:

Not sure why but I fixed by using

Add-Type -AssemblyName System.Windows.Forms
[System.Windows.Forms.SendKeys]::SendWait("%s")

( Send Keys in Powershell alt n {TAB} {ENTER} )

  • Related