Git Product home page Git Product logo

burnttoast's Introduction

BurntToast Logo Banner

PowerShell Module for displaying Windows 10 Toast Notifications

Install

PowerShell Gallery Install (Requires PowerShell v5)

Install-Module -Name BurntToast

See the PowerShell Gallery for the complete details and instructions.

Manual Install

Download BurntToast.zip and extract the contents into C:\Users\[User]\Documents\WindowsPowerShell\modules\BurntToast (you may have to create these directories if they don't exist.)

Please remember to "unblock" the zip file before extracting the contents. Not doing so will result in the module not working correctly. This can be done via the file properties or with Unblock-File.

Examples

New-BurntToastNotification

BurntToast Notification Example Default

New-BurntToastNotification -AppLogo C:\smile.jpg -Text "Don't forget to smile!",
                                                       'Your script ran successfully, celebrate!' 

BurntToast Notification Example Custom

New-BurntToastNotification -Text 'WAKE UP!' -Sound 'Alarm2' -SnoozeAndDismiss

BurntToast Notification Example Alarm

Releases

Please note: as of v0.5.0, BurntToast no longer works on Windows 8.

  • Bleeding Edge (Development/Raw Repo - CAUTION)
  • v0.6.2
    • Updated UWP Toolkit to 2.2.0
    • Fixed an issue with sound looping
    • New-BurntToastNotification now accepts multiple ProgressBar objects
    • Fixed Issue #28, ProgressBars should now work for all locales
    • Fixed Issue #18, Images from the internet will now be downloaded locally
      • Supports regular images, hero images, and applogo
    • All functions now included in .psm1 for release (Thanks @chrislgardner)
  • v0.6.1
    • Customizable AppId removed from the New-BurntToastNotification function as a quick fix for Fall Creators Update.
      • If you''re using a customized AppId and are not upgrading to the Fall Creators Update, then stay on version 0.6.0.
    • Default AppId changed to match PowerShell.exe.
    • Registry entry for AppId is now automatically created when the module loads.
    • Included UWPCommunityToolkit library updated to v2.0.0.
  • v0.6.0
    • Updated bundled UWP Toolkit to 1.4.1
      • Note that this caused an issue where strings were being wrapped with curly braces in end results. A workaround has been implemented, but could mean that if you legitimately use some rather obscure strings, they may have the braces removed.
    • Hero Images working now (Thanks to Creators Update)
    • Headers can now be included (Creators Update feature)
    • Progress bars can now be included (Creators Update feature)
    • Specify a unique identifier in order to replace existing toasts
    • You can specify a custom sound file using the -Path parameter of the New-BTAudio function. This hasn''t been exposed through the main function... that poor thing is getting bloated.
    • There is now help for every public function, and the online version for each of them can be found on github. Specify the -Online switch when using Get-Help to be taken directly there.
  • v0.5.2
    • Exposed ability to have custom buttons via New-BurntToastNotification, passing result from New-BTButton to the -Button parameter.
      • Expect a blog post soon covering some cool ways to use these buttons. Keep an eye out on king.geek.nz.
    • Fixed module commands not auto-loading by removing Basic/Advanced function designation ( :( ).
    • Help created for New-BTButton, and the function has had a pass to ensure it works as per the community toolkit.
    • Help completed for New-BurntToastNotification, and Toast alias now exporting correctly.
  • v0.5.1
    • Small bug fixes (thanks for opening issues!)
    • Confirmed: Now ONLY works on Windows 10
    • BurntToast now has its own, original, logo!
    • New public function to adjust function level of module: Set-BTFunctionLevel
    • Implemented checking for and registering of AppId in the registry to ensure proper Toast behaviour in the Action Center
  • v0.5.0
    • Converted to using the UWP Community Toolkit.
    • Snooze and Dismiss now available and working.
    • Documentation is out of date, this will be polished in the next release.
  • v0.4.0 - Last version that supports Windows 8
    • Credential parameter added so toasts can be generated for regular user when running PowerShell host as a different (e.g. Admin) account.
  • v0.3.0
    • Help has been added
    • Toasts can be silent with -Silent switch
    • General bug fixes
  • v0.2.0
  • v0.1.0

Contributors

TODO

License

Image Credit

The default image for BurntToast Notifications is a photo taken by Craig Sunter

Contact

burnttoast's People

Contributors

windos avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.