J. M. Bogaard
2015-01-02 21:39:06 UTC
Hi,
I have an issue when I want to query the amount of open Internet Explorer tabs. I have the following snippet:
comtypes.client.GetModule(“shdocvw.dll”).IShellWindows().Count
However I get the following error:
TypeError: Expected a COM this pointer as first argument
Anybody an idea what i’m doing wrong?
Regards,
Martijn
I have an issue when I want to query the amount of open Internet Explorer tabs. I have the following snippet:
comtypes.client.GetModule(“shdocvw.dll”).IShellWindows().Count
However I get the following error:
TypeError: Expected a COM this pointer as first argument
Anybody an idea what i’m doing wrong?
Regards,
Martijn