Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Windows Notification

Schemeswindows://
Cargo featureservice-windows
Body formatstext (first is the default)
Attachmentsno
Title length250 characters
Body length32,768 characters
Body lines2 lines
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://

{schema} is one of windows://.

Query parameters

ParameterMeaningTypeDefaultNotes
durationDurationint, min 112
imageInclude Imageboolyesaccepted, no effect

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

windows://
windows://_/
windows://_/?duration=1
windows://_/?image=False

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'windows://'

Notes

Windows balloon notifications (windows://): a tray-icon balloon tip with the title and body, shown for duration seconds.

There is no Win32 dependency: the sequence (tray icon, balloon tip, sleep, tear-down) runs through powershell.exe and System.Windows.Forms.NotifyIcon (ShowBalloonTip, Start-Sleep, Dispose). The script travels as -EncodedCommand so no quoting of user text reaches the command line.

Only Windows can display these: on other platforms delivery fails with Error::Unsupported.

Differences with Apprise

  • Apprise uses the Win32 API, while mercurio runs powershell.exe (System.Windows.Forms.NotifyIcon).
  • The tray icon is the stock application icon; ?image= is accepted and ignored.
  • On other platforms delivery fails with Unsupported.