Skip to content

mhorrall/Toaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toaster

The purpose of this project was to create a way to pop interactive toasts from the command line. I used a WPF application with startup arguments instead of a console application because it is necessary to keep the application open long enough to respond to events of COM activation.

Usage

-t [string] Toast Title
-b [string] Toast Body
-p [string] Logo Image (Windows Path)
-silent (If included no audio will be played)

Interactive Components

The activator enables the toast to respond to events and is registered with the OS on startup. Currently the buttons are defined in ToastXML.cs The NotificationActivator class can be modified to respond to the button clicks as needed.

It is modeled after this sample:

Shortcut

The application will install a shortcut in the windows startup menu. This is required for COM activation. I used the approach from this well written project:

License

  • MIT License

About

Command Line Interactive Windows Toasts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages