7 Notify_windows
Chris Caron edited this page 2022-07-03 10:03:09 -04:00

Microsoft Windows Notifications

  • 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

Syntax

There are currently no options you can specify for this kind of notification, so it's really easy to reference:

  • windows://

Parameter Breakdown

Variable Required Description
duration No Optionally set the duration of the popup message in seconds. By default this value is set to 12

Example

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"