Prev: How Open Browser and launch a URL every 1 hour…
Next: AddWindowsPrinterConnection, but the mapping is NOT stored in theuser profile
From: James Whitlow on 19 Feb 2010 18:09 "johnthenu" <gthenappan(a)gmail.com> wrote in message news:5ecf7f64-2657-48de-bc24-1dc149dfc059(a)q16g2000yqq.googlegroups.com... >Hi All, >Just wondering is this Can be done thru VB script�.? Any help will be >very much appreciated� >Launch IE >Enter URL and hit enter >Close Browser >And then reopen every one hour� I think your best option would be to use the 'InternetExplorer.Application' object: Dim sURL, oIE, iTimeout sURL = "http://www.weather.com" iTimeout = 3600000 'milliseconds Do Set oIE = WScript.CreateObject("InternetExplorer.Application", "IE_") oIE.visible = True oIE.navigate sURL Do While oIE.busy WScript.Sleep 1000 Loop oIE.Quit WScript.Sleep iTimeout Loop |