Code Monkey home page Code Monkey logo

toaster's People

Contributors

mikaelbr avatar nels-o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toaster's Issues

Unhandled Exception: SQL error or missing database

A colleague of mine was having this issue on Windows 10 when running this through gulp-notify. The following error is shown when trying to notify.

Unhandled Exception: System.Exception: SQL error or missing database (Exception from HRESULT: 0x87AF0001)
   at Windows.UI.Notifications.ToastNotifier.Show(ToastNotification notification)
   at toast.Program.ShowToast(String title, String message, String imageURI, Boolean sound)
   at toast.Program.Main(String[] args)

We traced the issue down to a corrupted Windows 10 notification database. Go to ~\AppData\Local\Microsoft\Windows\Notifications and delete the three *.db* files. You may need to close & restart Explorer.

Perhaps an enhancement which can be made to this app would be to catch this exception and output something a little more helpful.

Windows API CodePack not available, any compiled versions?

Seems the official links and resources about the Windows API CodePack have disappeared from Microsoft's site. Are there any existing compiled versions that could be added to the Releases section of the repo? Been looking for a way to trigger Toast notifications from the command line.

Win8.1 breaks this

When pinned to start, it runs and exits. When not, it spits out "Error". In either case, when -w is used it spits out "Error".

Toast's not appearing

I'm having some trouble with toast messages calling it from bash in Windows.

If I use the -w option it seems to wait for a couple of minutes before continuing, if I don't it continues but I don't get the message.

I'm on Windows 8.1 using both ComEmu and Console2 as terminal emulators, it seems to work fine in Git Bash. Sometimes it also works fine but I get duplicate messages.

I'd be happy to help debug/provide more details - but I'm not sure how to at the moment. Any suggestions/requests would be appreciated.

-w eats CPU

The -w chews on a rather disturbing amount of CPU (12% of 4.43GHz).

Normally there isn't much of a wait but I had something wrong with explorer and the toasts weren't running consistently, which is how I noticed.

Option to use custom sound

Would this be possible?

I'm using this project with #4 applied, so I disable the notification sound and I play my own notification sound at the same time I trigger a notification but sometimes the notification fails to show and the sound will still play regardless or maybe they're a tiny bit out of sync.

cc @mikaelbr

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.