-
This is my code and it runs with no response. It works fine with absolute paths. from win11toast import toast
toast('icon', icon='RazerIcon.ico') |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Thank you for your comment. You can make it an absolute path with Pathlib. from pathlib import Path
from win11toast import toast
toast('icon', icon=str(Path('RazerIcon.ico').resolve())) or use http url from win11toast import toast
toast(icon='https://raw.githubusercontent.com/iTZUNAMI/ahk-razersynapse3-deamon/master/RazerIcon.ico', app_id='Microsoft.WindowsTerminal_8wekyb3d8bbwe!App') |
Beta Was this translation helpful? Give feedback.
-
Hi, I tried an example from the homepage but the icon is not displaying in my notifications. Do you know what the reason might be? |
Beta Was this translation helpful? Give feedback.
-
I am trying to achieve that a notification is sent on media change from the app_id of the source application too the property returns |
Beta Was this translation helpful? Give feedback.
Thank you for your comment. You can make it an absolute path with Pathlib.
or use http url