I am trying to write a script to open internet explorer and navigate to a certain webpage. When the user gets to this webpage a pop up window comes up with a disclaimer. You must click O.K. to bypass this disclaimer and get you into the site. I want to automate this process so the user doesn't have to click O.K. every time.
Here's my script:
When I run the script I get to the website but I get the error: "Object doesn't support this property or method objIE.SendKeys"
Any ideas of what I can do differently?
Here's my script:
Code:
Set objIE = WScript.CreateObject("InternetExplorer.Application")
objIE.Visible = 1
objIE.Navigate "<website>"
WScript.Sleep 1000
objIE.SendKeys "{ENTER}"
Any ideas of what I can do differently?