PDA

View Full Version : Refresh LuaCom IE


ericahlstrom
08-13-2005, 07:41 AM
How do I send a refresh command to a LuaCom opened IE

Eric

Worm
08-13-2005, 07:52 AM
oIE=luacom.CreateObject("InternetExplorer.Application")

if oIE then
--navigate to the site
oIE:Navigate2("www.indigorose.com")

--make the browser visible
oIE.Visible = true;

--refresh the browser
oIE:Refresh()
end

ericahlstrom
08-13-2005, 08:26 AM
oIE=luacom.CreateObject("InternetExplorer.Application")

if oIE then
--navigate to the site
oIE:Navigate2("www.indigorose.com")

--make the browser visible
oIE.Visible = true;

--refresh the browser
oIE:Refresh()
end


Worm, ‘you the man’ but you already knew that.

Eric

Worm
08-13-2005, 08:35 AM
Don't I wish. I'm merely fortunate enough to have a good memory. User johnraus posted a link that shows a lot of the automation that is possible for IE http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reflist_vb.asp

It was fairly recent so I didn't have to think too hard, it's early yet ya know.

This thread has been an interesting one for me and automating IE. A different twist on it for sure.
http://www.indigorose.com/forums/showthread.php?t=12414

Intrigued
08-13-2005, 09:03 AM
Worm may very well seem to be the man... but my further scientific checking reveals he is actually broken down this way:

60% - Man
20% - Genius
10% - Liquefied Magic Wand
10% - descendant of Nostradamus

:D

ericahlstrom
08-13-2005, 09:11 AM
Don't I wish. I'm merely fortunate enough to have a good memory. User johnraus posted a link that shows a lot of the automation that is possible for IE http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reflist_vb.asp

It was fairly recent so I didn't have to think too hard, it's early yet ya know.

This thread has been an interesting one for me and automating IE. A different twist on it for sure.
http://www.indigorose.com/forums/showthread.php?t=12414

Thanks for the link. :D