delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/13/00:04:57

X-Spam-Check-By: sourceware.org
Message-ID: <11f3a4750512122104v5beb83dcpff759f6506df09df@mail.gmail.com>
Date: Tue, 13 Dec 2005 00:04:45 -0500
From: Lst Recv <listrecv AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: System Tray
Cc: listrecv AT gmail DOT com
In-Reply-To: <11f3a4750512121546q6664c58bo1c6ce75492ee46cd@mail.gmail.com>
MIME-Version: 1.0
References: <11f3a4750512121546q6664c58bo1c6ce75492ee46cd AT mail DOT gmail DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jBD54t2W026368

Gary, could you post a few links to some of those libraries?

Yes, that's exactly what I'd like to do.  Why?  It's a great way for
unobtrusive, yet noticeable, notifications.  My immediate goal is to
script a little unit test runner in the background, which constantly
runs, and loads a green or red icon in the tray.

But I think being able to do this from shell scripts would be very,
very useful.  How 'bout an icon that pop ups when an incoming email
has the word "URGENT" in it?  That way, you can avoid disrupting your
flow, and not check your email, and still be informed when an urgent
one comes in.  A few lines of shell script, once we'd have this.

Anyone up to code this?

But, yes, my immediate use is for simple continuous integration / test
driven development.



Gary R. Van Sickle wrote:
There are a few libraries (actually example code, it's not terribly hard -
just hard to do right) to do this, yes.  But I don't quite understand your
question.  It sounds like you want to do something like:

put-an-alert-in-the-system-tray.exe --alert-type=stopsign
--tooltip-text="Emergency!"

Is that right?  I'm kind of missing the point though - what happens if you
click it?  Maybe a "--run-this-app-when-clicked=" param would make something
like this actually useful....

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019