GitHub30 / win11toast

Toast notifications for Windows 10 and 11 based on WinRT
https://pypi.org/project/win11toast/
MIT License
227 stars 15 forks source link

Allow more advanced operations? #11

Open kaivictor opened 1 year ago

kaivictor commented 1 year ago

Excuse me, I'm sorry to ask you for help. I've read the Windows documentation about toast SDK and your code, and I want to do what I want based on your code, but after trying many times it still fails. I don't know if you can help me.

What I want to achieve:

  1. Add buttons at the end of progress bar loading, not at the beginning;
  2. Delete the progress bar and update the contents of the body at the end of the progress bar loading so that I can make one less toast to display the results (the results from my code, requests get) (the third function is OK if this cann't be achieve)
  3. The toast will be destroyed in a period of time. (It seems that this function can be realized through win32. api, but I can't) I know your function base on SDK and use xml. So I can accept even if some functions cannot be realized. Thank you very much. Please forgive me for my possible wrong description