
How can I save web page to file with VBS
I assume you don't mean the question in the title, then.; here's how you make it
automatically print
Set IE = createobject("InternetExplorer.Application")
IE.Navigate "http://www.yahoo.com"
Do Until IE.ReadyState = 4:WScript.Sleep 10 : Loop
IE.Visible = True
const OLECMDID_PRINT = 6
const OLECMDEXECOPT_DONTPROMPTUSER = 2
IE.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
Do Until IE.ReadyState = 4:WScript.Sleep 10 : Loop
Quote:
> Im quite new to VBS and I was wondering how to
> programaticly have my script when it is run atuomaticly
> jump to a HyperLink and than print that page to printer ?
> Please Help
> Thanx
> Dan