Re: Using python to create outlook rules - comtypes (working) vs. pywin32 (not working)

Tim Roberts <[email protected]>
Newsgroups gmane.comp.python.windows
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
Caio Kauffmann wrote:
>
> I am a hobby programmer and after days trying to figure out what I am 
> doing wrong, I still can’t finish a project because of the issue I 
> listed in this topic in stack overflow: 
> https://stackoverflow.com/questions/64594689/python-comtypes-working-vs-pywin32-not-working-using-python-to-create-o
>
This is not Visual Basic.  The following statement does nothing in Python:

|oFromCondition.Recipients.ResolveAll|

If you want the method to be called, you have to call it:

|oFromCondition.Recipients.ResolveAll()|

-- 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
smime.p7s (application/pkcs7-signature, 3.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.