Thomas, Thanks for your reply. I've used pywin32 to automate Excel, Word, etc., But I don't know if I used event handling with it. I suppose I need to use DispatchWithEvents. I'll see if I can figure it out and report back.
Btw, the problem of reverse argument order also happens with AutoCAD. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users