deadprogrammer
deadprogrammer

Reputation: 11283

Web page download automation in vbscript

How would you automate logging into a website and downloading a page using vbscript?

Upvotes: 2

Views: 1771

Answers (3)

java_enthu
java_enthu

Reputation: 2327

Well the script (given on link )works fine if you open the notepad and don't change the focus to other window. If you change the focus above script doesn't work.

Upvotes: 0

Svante Svenson
Svante Svenson

Reputation: 12488

Using the MSXML.XMLHTTP-object to first do a POST to login and then add the cookie-headers to a GET request.

Upvotes: 1

jheriko
jheriko

Reputation: 3113

As a quick and dirty solution, you could use a Shell object with SendKeys and Run as demonstrated here. These functions are quite powerful for those situations where you just can't the right object or library to use...

Upvotes: 0

Related Questions