I have page that times out firt few times. I want to have a vbscript that hits the url 4 times and then I can run it manually. What is the best way to do that?
VB ScriptWeb DevelopmentWeb Applications
Last Comment
rheasam
8/22/2022 - Mon
rlandquist
How about this?
It opens IE to the page you specify then waits 5 seconds and refreshes using the CTRL+F5 method and repeats refresh 2 more times.
Let me know if this works for you.
Set ie = CreateObject("internetexplorer.application")ie.Navigate "http://www.google.com"ie.Visible = TrueFor i = 1 To 3 WScript.Echo i WScript.Sleep(5000) ie.Refresh2(3)Next
I ran it, I see that it invokes IE. Also I want to close the IE after it hits it. What is the best way to do it. Also is there a way to hit the URL without invoking IE?
It opens IE to the page you specify then waits 5 seconds and refreshes using the CTRL+F5 method and repeats refresh 2 more times.
Let me know if this works for you.
Open in new window