Windows-10-Toast-Notifications icon indicating copy to clipboard operation
Windows-10-Toast-Notifications copied to clipboard

win10toast - anyways to stop or know that it has been clicked.

Open delrius-euphoria opened this issue 4 years ago • 0 comments

I am using win10toast for showing notification whenever the API gets an unread data. It works fine i get the notification, but the notification seems to keep on popping up as long as the data on the API remains to be unread, because im checking for the data every 1 sec, and it checks and find that the data is unread and hence it pops up the window. Is there anyway to make win10toast just pop up once for one notification, and while its unread, just keep the notification to the action center something. Due to the continous poping of notification it throws me an error

    self.hwnd = CreateWindow(self.classAtom, "Taskbar", style,
AttributeError: 'ToastNotifier' object has no attribute 'classAtom'

Im pretty sure the way im proceeding to this is not accurate, would be helpful if you guys have any other way to show notification like this.

My code here with question - https://stackoverflow.com/questions/63879077/displaying-desktop-notification-after-getting-a-new-message-python-tkinter

delrius-euphoria avatar Sep 14 '20 11:09 delrius-euphoria