If it is possible it would not be at all straight-forward :( It doesn't look like these objects expose IDispatch, which is what we would need. winrt probably is your best bet.

Cheers

On 2024-07-05 2:24 p.m., Patrik Dufresne wrote:
Hello,

Is it possible to use win32com/pythoncom to instantiate a ToastNotificationManager. Looking at the registry is seams all the interface is registered using a GUID, but I'm not familiar enough to know exactly how to create an instance of the ToastNotificationManager using python.

I've already had a look at winrt and winsdk that provide binding for winrt, but my application is required to be as small as possible and the library is 30Mib when installed. I also want to minimize the number of dependencies in my application, leveraging pywin32 make more sense for me.

Thanks for helping.


--
IKUS Software
https://www.ikus-soft.com/
514-971-6442
St-Colomban, QC J5K 1T9

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to