PDA

View Full Version : luacom.GetObject



father of monstermagnet
November 5th, 2005, 03:04 AM
I want to have access to an InternetExplorer.Application object
that was opend by another program.

The GetObject methode doesn't work with IE.

Is there another way to catch the object with Girder ?

GetObject with Outlook

Opened with VBS


Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olContactItem)
myItem.Display

Closed with LUA


Outlook = luacom.GetObject("Outlook.Application")

if not Outlook then
print ("Not found")
else
Outlook:Quit()
end

Promixis
November 5th, 2005, 04:18 AM
I think the MSDN docs say this won't work.

father of monstermagnet
November 5th, 2005, 04:59 AM
It is possible to connect to a running instance of Internet Explorer version 4.0 or later using the SHDocVw.ShellWindows collection.

http://support.microsoft.com/?scid=kb%3Ben-us%3B176792&x=15&y=15

Before i spend to much time on this...

Any chance to connect girder and IE with this(without C)?