Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
/ win-notify Public archive

Simple app for sending a toast notifications

Notifications You must be signed in to change notification settings

redzumi/win-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.