WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

OLE with MSIE
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Go Back to Previous Web Page


Question:

How do I 'backspace' a non visible MSIE window?

Answer:

You could probably use the GoBack OLE object method: http://msdn.microsoft.com/workshop/browser/webbrowser/reference/methods/goback.asp

Sample code:



browser = ObjectOpen("InternetExplorer.Application")
browser.visible = @true

url = "http://www.winbatch.com"
browser.navigate(url)
while browser.readystate <> 4
	timedelay(0.5)
endwhile
Pause("Sample","Navigated to www.winbatch.com")

url = "http://www.google.com"
browser.navigate(url)
while browser.readystate <> 4
	timedelay(0.5)
endwhile

Pause("Sample","Navigated to www.google.com")

browser.GoBack()

Pause("Sample","Navigated BACK to www.winbatch.com")



Article ID:   W16635
File Created: 2005:02:18:12:21:42
Last Updated: 2005:02:18:12:21:42