[python-win32] Retrieve Windows Notifications With pywin32

Tim Roberts timr at probo.com
Sun Jun 2 23:59:07 EDT 2019


On Jun 2, 2019, at 6:06 PM, DAI VU via python-win32 <python-win32 at python.org> wrote:
> 
> ]I am new to python/pywin32. I have a task to check/retrieve/click on some notifications in the "Action Center" posted by a particular windows app. Can I use python/pywin32 for this? Are there sample codes that I can take a quick look? Also, where can I find the DOC for pywin32?

Well, here is the Microsoft repository of samples related to toast notifications and the action center.  The examples are all C# and JavaScript, but they can be translated.

https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/Notifications <https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/Notifications>

There are lots of APIs for creating notifications, but I'm not aware of APIs to manipulate and respond to those notifications.  Those notifications are there for a reason, and they are expected to be handled by a human user.  What kind of notifications are you trying to dismiss?
— 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20190602/aed7aa4b/attachment.html>


More information about the python-win32 mailing list