Have you tried the MSDN help on this COM Module? Mmmmm...actually after looking through the docs, maybe its not a whole lot of help. I see a lot of "Not Currently Supported" statements. Well, here's the link anyway in case there's something there:
<br><br><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winmessenger/winmessenger/reference/messengeruasdk/ifaces/imessenger/instantmessage.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winmessenger/winmessenger/reference/messengeruasdk/ifaces/imessenger/instantmessage.asp
</a><br><br><br><div><span class="gmail_quote">On 8/15/06, <b class="gmail_sendername">Indy Liu</b> <<a href="mailto:indy.liu@thinkingcactus.com">indy.liu@thinkingcactus.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I need to write a plug-in for MSN Messenger in python. All it does is<br>analyze a new message string and does some string ops on it. Can some<br>body please give me some tips as to how I achieve this with win32com?<br><br>
I managed to obtain the messenger API type library as follows, and just<br>don't know what to do from here.<br>"<br> >>> MSN =<br>gencache.EnsureModule('{E02AD29E-80F5-46c6-B416-9B3EBDDF057E}', 0, 1, 0)<br> >>> dir(MSN)
<br>['CLSID', 'CLSIDToClassMap', 'CLSIDToPackageMap', 'CoClassBaseClass',<br>'DMessengerEvents', 'Dispatch', 'DispatchBaseClass', 'IID',<br>'IMessenger', 'IMessenger2', 'IMessenger2_vtables_',<br>'IMessenger2_vtables_dispatch_', 'IMessenger3', 'IMessenger3_vtables_',
<br>'IMessenger3_vtables_dispatch_', 'IMessengerContact',<br>'IMessengerContact_vtables_', 'IMessengerContact_vtables_dispatch_',<br>'IMessengerContacts', 'IMessengerContacts_vtables_',<br>'IMessengerContacts_vtables_dispatch_', 'IMessengerConversationWnd',
<br>'IMessengerConversationWnd_vtables_',<br>'IMessengerConversationWnd_vtables_dispatch_', 'IMessengerGroup',<br>'IMessengerGroup_vtables_', 'IMessengerGroup_vtables_dispatch_',<br>'IMessengerGroups', 'IMessengerGroups_vtables_',
<br>'IMessengerGroups_vtables_dispatch_', 'IMessengerService',<br>'IMessengerService_vtables_', 'IMessengerService_vtables_dispatch_',<br>'IMessengerServices', 'IMessengerServices_vtables_',<br>'IMessengerServices_vtables_dispatch_', 'IMessengerWindow',
<br>'IMessengerWindow_vtables_', 'IMessengerWindow_vtables_dispatch_',<br>'IMessenger_vtables_', 'IMessenger_vtables_dispatch_', 'LCID',<br>'LibraryFlags', 'MajorVersion', 'Messenger', 'MessengerNative',<br>'MinorVersion', 'NamesToIIDMap', 'RecordMap', 'VTablesToClassMap',
<br>'VTablesToPackageMap', '__builtins__', '__doc__', '__file__',<br>'__name__', '_in_gencache_', 'constants', 'defaultNamedNotOptArg',<br>'defaultNamedOptArg', 'defaultUnnamedArg', 'makepy_version',<br>'python_version', 'pythoncom', 'win32com']
<br>"<br><br>I don't want to use msnp.py since it requires the user to log in with<br>msnp session manually as well as their MSN Messenger. I did hours of<br>search online and the conclusion is posting & crying for help in this
<br>forum is really my best bet.<br><br>Thanks.<br><br>_______________________________________________<br>Python-win32 mailing list<br><a href="mailto:Python-win32@python.org">Python-win32@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/python-win32">
http://mail.python.org/mailman/listinfo/python-win32</a><br></blockquote></div><br>