Herbert Chan
2005-02-12 11:16:29 UTC
Hello,
Say I've used script to open www.yahoo.com. How can I navigate to for
example to the first link that include the word "map" in its url?
Set IEObject=CreateObject("InternetExplorer.Application")
If Err.number <> 0 Then
MsgBox "There was a problem starting Internet Explorer."
wScript.Quit
End If
IEObject.Navigate "http://www.yahoo.com"
IEObject.Visible=1
Do while IEObject.Busy
Rem -- wait for window to open --
Loop
'what to put here??
And do I need to set IEObject to nothing at the end of the script?
Thanks.
Herbert
Say I've used script to open www.yahoo.com. How can I navigate to for
example to the first link that include the word "map" in its url?
Set IEObject=CreateObject("InternetExplorer.Application")
If Err.number <> 0 Then
MsgBox "There was a problem starting Internet Explorer."
wScript.Quit
End If
IEObject.Navigate "http://www.yahoo.com"
IEObject.Visible=1
Do while IEObject.Busy
Rem -- wait for window to open --
Loop
'what to put here??
And do I need to set IEObject to nothing at the end of the script?
Thanks.
Herbert