briandunnington / growl-for-windows

Automatically exported from code.google.com/p/growl-for-windows
50 stars 26 forks source link

growl notifications without growl installed #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

i was just wondering, if there is simple way to build Growl without 
daemon/listener, without any dialogs etc.

I'd like to have Growl balloons in only one DLL (the DLL should have skin built 
in) to have it working, whether the Growl is installed or not, in my app. Is 
there any chance to make this simple?

Hope you'll understand what I tried to say :)

Michal

Original issue reported on code.google.com by cz.mi...@gmail.com on 26 Jan 2011 at 6:43

GoogleCodeExporter commented 9 years ago
I do understand what you are asking, and have been thinking about how to do 
this for some time. It would be nice to be able to reference the Growl 
connector libraries and just do something like 'growl.Notify(blah)' and know 
that it will either 1) use Growl if installed, or 2) show a default 
notification window if not.

The biggest hurdle I am facing is what default display to use and what default 
preferences to use. Should it be the 'Standard' display, shown in the 
bottom-right corner? What if someone prefers the 'Smokestack' display shown in 
the upper-left corner? Perhaps I should take a poll or maybe just pick one and 
go with that - it would be better than nothing at all.

What are your thoughts on it?

Original comment by briandun...@gmail.com on 27 Jan 2011 at 12:27

GoogleCodeExporter commented 9 years ago
i really love Translucent Dark shown on the right middle

i haven't looked in the code yet, but hand-writed Xml with options to customize 
the standard shown in the right bottom?
it means default would be Standard shown at the right bottom, and after adding 
Xml with settings and display Dll would override the default settings? i think 
that this shouldn't be so hard to do

what do you think?

Original comment by cz.mi...@gmail.com on 27 Jan 2011 at 4:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,

I needed to do exactly this today and ended up with the attached solution; I 
hope it helps somebody. 

In addition to depending on both Growl.CoreLibrary and Growl.Connector like 
normal, it also needs Growl.DisplayStyle and a display (e.g. 
Growl.Displays.StandardDisplay). This ends up being four references instead of 
one like the OP asked for, but it seems to work well.

To the authors: thanks so much for making Growl for Windows!

Original comment by ben.e.weaver on 28 Aug 2011 at 1:54

Attachments:

GoogleCodeExporter commented 9 years ago
thank you! it works very well
my favorite translucent gives me some errors, but it's about settings (Color 
and such)

thanks again

Original comment by cz.mi...@gmail.com on 28 Aug 2011 at 6:07

GoogleCodeExporter commented 9 years ago
argh, how to make the embbeded connection thread safe? i'm trying own app with 
the embedded connection, but getting InvocationException, because i call it 
from another thread
didn't realized how to call it properly :( any ideas?

Original comment by cz.mi...@gmail.com on 8 Sep 2011 at 10:54

GoogleCodeExporter commented 9 years ago
dammit, my mistake, didn't set the Image :(

Original comment by cz.mi...@gmail.com on 17 Sep 2011 at 10:18