Re: [python-win32] SMIEngine(COM)

2012-04-11 Thread takeshi ikeya
Thank you Tim. Yes. I'm not familiar with COM, but Animatics'manual about SMIengine explains every objects and their interfaces. So I think, if I can get an instance of them, I can try and go ahead.. I also contacted with Animatics engineer through their agent. And their answer is "I know little a

Re: [python-win32] SMIEngine(COM)

2012-04-11 Thread Tim Roberts
takeshi ikeya wrote: > Thank you Tom. > I tried 'EnsureDispatch()' following your advice. > ... > pywintypes.com_error: (-2147467262, 'Inteface is not supported', None, > None) > > Same error occured on 'Shell.Autoplay'. And so on my 'SMIEngine.SMIhost'. Not every COM object was intended to be use

Re: [python-win32] SMIEngine(COM)

2012-04-11 Thread takeshi ikeya
Thank you Tom. I tried 'EnsureDispatch()' following your advice. This is it. >>> import win32com.client >>> sh = win32com.client.gencache.EnsureDispatch('Shell.Autoplay') Traceback (most recent call last): File "", line 1, in sh = wcc.gencache.EnsureDispatch('Shell.Autoplay') File "C:\Pyth