I need to write a plug-in for MSN Messenger in python. All it does is analyze a new message string and does some string ops on it. Can some body please give me some tips as to how I achieve this with win32com?
I managed to obtain the messenger API type library as follows, and just don't know what to do from here. " >>> MSN = gencache.EnsureModule('{E02AD29E-80F5-46c6-B416-9B3EBDDF057E}', 0, 1, 0) >>> dir(MSN) ['CLSID', 'CLSIDToClassMap', 'CLSIDToPackageMap', 'CoClassBaseClass', 'DMessengerEvents', 'Dispatch', 'DispatchBaseClass', 'IID', 'IMessenger', 'IMessenger2', 'IMessenger2_vtables_', 'IMessenger2_vtables_dispatch_', 'IMessenger3', 'IMessenger3_vtables_', 'IMessenger3_vtables_dispatch_', 'IMessengerContact', 'IMessengerContact_vtables_', 'IMessengerContact_vtables_dispatch_', 'IMessengerContacts', 'IMessengerContacts_vtables_', 'IMessengerContacts_vtables_dispatch_', 'IMessengerConversationWnd', 'IMessengerConversationWnd_vtables_', 'IMessengerConversationWnd_vtables_dispatch_', 'IMessengerGroup', 'IMessengerGroup_vtables_', 'IMessengerGroup_vtables_dispatch_', 'IMessengerGroups', 'IMessengerGroups_vtables_', 'IMessengerGroups_vtables_dispatch_', 'IMessengerService', 'IMessengerService_vtables_', 'IMessengerService_vtables_dispatch_', 'IMessengerServices', 'IMessengerServices_vtables_', 'IMessengerServices_vtables_dispatch_', 'IMessengerWindow', 'IMessengerWindow_vtables_', 'IMessengerWindow_vtables_dispatch_', 'IMessenger_vtables_', 'IMessenger_vtables_dispatch_', 'LCID', 'LibraryFlags', 'MajorVersion', 'Messenger', 'MessengerNative', 'MinorVersion', 'NamesToIIDMap', 'RecordMap', 'VTablesToClassMap', 'VTablesToPackageMap', '__builtins__', '__doc__', '__file__', '__name__', '_in_gencache_', 'constants', 'defaultNamedNotOptArg', 'defaultNamedOptArg', 'defaultUnnamedArg', 'makepy_version', 'python_version', 'pythoncom', 'win32com'] " I don't want to use msnp.py since it requires the user to log in with msnp session manually as well as their MSN Messenger. I did hours of search online and the conclusion is posting & crying for help in this forum is really my best bet. Thanks. _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32