Thursday, March 31, 2011

Web page download automation in vbscript

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

From stackoverflow
  • 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...

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

0 comments:

Post a Comment