Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Internet Explorer save page

368 views
Skip to first unread message

voytech

unread,
Oct 11, 2011, 4:02:20 AM10/11/11
to
Hi!
How can save a page from Internet Explorer?

I can do:

$ie = New-Object -comObject InternetExplorer.Application
$ie.visible = $true
$ie.navigate('http://www.google.com')

...and what next?

I do *NOT* want to download webpage directly (like wget), I want my IE
to render it first, a then save a local copy.

Can you help me, please?

David Trimboli

unread,
Oct 11, 2011, 9:30:36 PM10/11/11
to

Here's an example that calls ExecWB:
http://stackoverflow.com/questions/872750/saving-a-web-page-from-ie-using-powershell

It has the problem that ExecWB requires an OK from the user. I saw some
people getting around that problem by using SendKeys (either from
Windows Script Host or WinForms):
http://technet.microsoft.com/en-us/library/ff731008.aspx

--
David Trimboli
http://www.trimboli.name/

0 new messages