/win-notify

Simple app for sending a toast notifications

Primary LanguageC#

win-notify

Usage

win-notify.exe --app TestApp --timeout false --xml "<toast activationType='protocol' launch='http://google.com/'><visual><binding template='ToastGeneric'><text>Title</text><text>Body</text><image placement='appLogoOverride' src='file:///C:/test.jpg' hint-crop='circle' /></binding></visual></toast>"

Command line arguments

[kb830473]

required arguments:
  --app            	APP_ID for notification (will be shown in the notification bottom)
  --timeout			true or false (expectation for dismissing/activating event)
  --xml				Notification template

Notification template

[blogs.msdn.microsoft.com]

<toast activationType='protocol' launch='http://google.com/'>
  <visual>
    <binding template='ToastGeneric'>
      <text>Title</text>
      <text>Body</text>
      <image placement='appLogoOverride' src='file:///C:/test.jpg' hint-crop='circle' />
    </binding>
  </visual>
</toast>

TODO: another way of receiving notification template (?)


Like a toaster, but without shortcut (only win10?) and with custom app id.