Python Outlook 2007 COM primer

comoutlookoutlook-2007python

I've been inspired by Modifying Microsoft Outlook contacts from Python — I'm looking to try scripting some of my more annoying Outlook uses with the win32com package. I'm a Linux user trapped in a Windows users' cubicle, so I don't know much about COM.

I'm looking for information on whether COM allows for reflection via win32com or whether there's documentation on the Outlook 2007 COM objects. Any other pointers that you think will be helpful are welcome!

I've found Programming Outlook With Python, but I'm using Outlook 2007 so I'd like some more information on how much of the Outlook 2000 information is still applicable.

TIA!

Best Answer

To answer your question about documentation. Here are two links that I regularly visit when developing Outlook macros. While the sites are primarily focused on development with MS technologies most of the code can be pretty easily translated to python once you understand how to use COM.