How do I get growl for windows to use native windows 8/10 notifications?

I'm using gntp-send to send messages to a growl for windows instance. GFW hasn't been maintained a while so there dosen't seem to be support for windows 10 style notifications. How would I get GFW to work with the new style notifications?

0

3 Answers

Here's an alternative implementation along the same vein of Jonno's one:

The basic principle is the same, but this also sends the original title as sent by the Growl source, and supports a 'silent mode' that stops the Windows 10 notification sound.

Installation

See the Installation instructions in the README. This has changed across different versions.

I had put together a quick display to mimic this, literally just using the SDK and a quick hack up of the Windows 10 Notification system. Unfortunately notifications require a higher version of the .NET framework than Growl uses (Displays are build for 2.0), so it requires a helper exe which simply takes one argument, the description for the notification.

Source and EXE are available here if you wanted to use it or it can help anyone:

Quick video of it in action:

enter image description here

Its terribly hacky and there's three different things I need to pull in.

Firstly I need a way to actually generate the new style notifications. I'm using toaster for this, download and unzip this somewhere appropriate.

Next you need something to glue toaster and growl together - I used scripty for this. Scripty is not really documented - Basically, you can retrieve the information from growl as command.exe variables and I did a lot of poking around with 'echo' to work out what worked.

@echo off
set arg1=%2
shift
shift
shift
set arg2=%~7
C:\Users\geek\AppData\Local\Growl\2.0.0.0\Displays\Scripty\toast\toast.exe -t %arg1% -m "%arg2% " -w

I've put toast in the scripty folder since it seems appropriate and invoked it with a batch file

Basically it pulls out the title and message contents (title is %2 and message is %10 - which needs the use of the shift command).

This will fire up a windows 10 native notification as needed. You could also add a locally hosted image on the notification but I'll leave that as an exercise to the user. It also seems to fire up a cmd window, which needs to be fixed, but another toaster notification app may do the trick

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like