I'm using PowerShell to scrape the web and I'm trying to bypass the download dialog of Internet Explorer.
Everywhere in the internet (example 1, example 2) I find this code:
$wshell = new-object -com wscript.shell
$wshell.appactivate("Save As")
$wshell.sendkeys("%s")
$wshell.sendkeys("{Enter}")
but when I try to execute it just set the Num Lock On
:
What am I doing wrong?