I'm referring to this piece of code quoted in the first post in tanks thread from Sean:
COM_Init()
psh := COM_CreateObject("Shell.Application")
psw := COM_Invoke(psh, "Windows")
Loop, % COM_Invoke(psw, "Count")
pwb := COM_Invoke(psw, "Item", A_Index-1), sInfo .= COM_Invoke(pwb, "hWnd") . " : """ . COM_Invoke(pwb, "LocationURL") . """,""" . COM_Invoke(pwb, "LocationName") . """,""" . COM_Invoke(pwb, "StatusText") . """,""" . COM_Invoke(pwb, "Name") . """,""" . COM_Invoke(pwb, "FullName") . """`n", COM_Release(pwb)
COM_Release(psw)
COM_Release(psh)
COM_Term()
MsgBox, % sInfo
This produces COM errors ("Function Name: "hWnd"")
when Steam is running. Steam is using an IEFrame, so I suppose this might be related. Any idea what could be done to fix this? Personally, I am only interested in getting explorer windows. Maybe there is an explorer specific interface that could be queried or so before calling hwnd?
I already tried contacting Steam devs about this, but they don't want to investigate this from their side.