-
-
Notifications
You must be signed in to change notification settings - Fork 416
Notify_windows
Chris Caron edited this page Jul 3, 2022
·
7 revisions
- Source: n/a
- Icon Support: Yes
- Message Format: Text
- Message Limit: 250 Characters per message
Display notifications right inside of your windows application. This only works if you're sending the notification to the same windows system you're currently accessing. Hence this notification can not be sent from one PC to another.
You may have to install a dependency on your windows system to get this to work. Simply run:
# windows:// minimum requirements
pip install pywin32
There are currently no options you can specify for this kind of notification, so it's really easy to reference:
- windows://
Variable | Required | Description |
---|---|---|
duration | No | Optionally set the duration of the popup message in seconds. By default this value is set to 12
|
Assuming we're on a Windows computer, we can send a Windows Notification to ourselves:
# Send ourselves a windows notification
apprise -vv -t "Test Message Title" -b "Test Message Body" \
"windows://"
Here is an example where we shorten the duration the popup stays active for:
# Send ourselves a windows notification
apprise -vv -b "A 5 second popup" "windows://?duration=5"