I would like to execute a Python script whenever I receive a notification on Windows 10. Then, based on the notification, I would be able to execute different tasks. For example: if I get a notification from Slack, I could blink a led on an Arduino connected to the PC.
I see that Microsoft has a UserNotificationListener class as part of its UWP api in case I write an app in C#, but can I access the same functionality from Python or from Powershell?
UserNotificationListener. I don't need anybody to do all the work for me - I asked if there's a certain functionality from a certain environment, pretty straightforward. Any suggestion how that could be asked instead?