From: Gerald W. Lester on
dave wrote:
> On May 19, 11:55 pm, "Gerald W. Lester" <Gerald.Les...(a)cox.net> wrote:
>> dave wrote:
>>> On May 14, 3:09 am, "Gerald W. Lester" <Gerald.Les...(a)cox.net> wrote:
>>>> dave wrote:
>>>>> Is it possible to create a system alert using tcl/tk like skype or
>>>>> yahoo messaenger that will timeout after a set time
>>>> Yes
>>>> --
>>>> +------------------------------------------------------------------------+
>>>> | Gerald W. Lester |
>>>> |"The man who fights for his ideals is the man who is alive." - Cervantes|
>>>> +------------------------------------------------------------------------+
>>>> --- news://freenews.netfront.net/ - complaints: n...(a)netfront.net ---
>>> Any examples please
>> Examples are OS dependent -- what OS?
>>
>> --
>> +------------------------------------------------------------------------+
>> | Gerald W. Lester |
>> |"The man who fights for his ideals is the man who is alive." - Cervantes|
>> +------------------------------------------------------------------------+
>>
>> --- news://freenews.netfront.net/ - complaints: n...(a)netfront.net ---
>
> Thanks for your reply, it is for a windows application only windows
> xp , vista and windows 7. I have a tcl application , that I wrapped
> using freewrap and is running as a service. I send socket messages
> from this service to a second tcl exe that has a system tray icon
> using winico and I would like alert messages like skype . Your help is
> much appriciated.

twapi

--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+

--- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
From: APN on
Take a look at the osd package - http://wiki.tcl.tk/15951

Locate where you icon is placed on the taskbar and use osd command to
display an animated alert at that position.

You could also roll your own using one of the zillion "balloon" widget
packages on the wiki or in tklib.

/Ashok

On May 22, 1:21 pm, dave <i...(a)clubnet.ie> wrote:
> On May 19, 11:55 pm, "Gerald W. Lester" <Gerald.Les...(a)cox.net> wrote:
>
>
>
> > dave wrote:
> > > On May 14, 3:09 am, "Gerald W. Lester" <Gerald.Les...(a)cox.net> wrote:
> > >> dave wrote:
> > >>> Is it possible to create a system alert using tcl/tk like skype or
> > >>> yahoo messaenger that will timeout after a set time
> > >> Yes
>
> > >> --
> > >> +------------------------------------------------------------------------+
> > >> | Gerald W. Lester                                                       |
> > >> |"The man who fights for his ideals is the man who is alive." - Cervantes|
> > >> +------------------------------------------------------------------------+
>
> > >> --- news://freenews.netfront.net/ - complaints: n...(a)netfront.net ---
>
> > > Any examples please
>
> > Examples are OS dependent -- what OS?
>
> > --
> > +------------------------------------------------------------------------+
> > | Gerald W. Lester                                                       |
> > |"The man who fights for his ideals is the man who is alive." - Cervantes|
> > +------------------------------------------------------------------------+
>
> > --- news://freenews.netfront.net/ - complaints: n...(a)netfront.net ---
>
> Thanks for your reply, it is for a windows application only windows
> xp , vista and  windows 7. I have a tcl application , that I wrapped
> using freewrap and is running as a service.  I send socket messages
> from this service to a second tcl exe that has a system tray icon
> using winico and I would like alert messages like skype . Your help is
> much appriciated.

From: dave on
On May 22, 5:06 pm, APN <palm...(a)yahoo.com> wrote:
> Take a look at the osd package -http://wiki.tcl.tk/15951
>
> Locate where you icon is placed on the taskbar and use osd command to
> display an animated alert at that position.
>
> You could also roll your own using one of the zillion "balloon" widget
> packages on the wiki or in tklib.
>
> /Ashok
>
> On May 22, 1:21 pm, dave <i...(a)clubnet.ie> wrote:
>
> > On May 19, 11:55 pm, "Gerald W. Lester" <Gerald.Les...(a)cox.net> wrote:
>
> > > dave wrote:
> > > > On May 14, 3:09 am, "Gerald W. Lester" <Gerald.Les...(a)cox.net> wrote:
> > > >> dave wrote:
> > > >>> Is it possible to create a system alert using tcl/tk like skype or
> > > >>> yahoo messaenger that will timeout after a set time
> > > >> Yes
>
> > > >> --
> > > >> +------------------------------------------------------------------------+
> > > >> | Gerald W. Lester                                                       |
> > > >> |"The man who fights for his ideals is the man who is alive." - Cervantes|
> > > >> +------------------------------------------------------------------------+
>
> > > >> --- news://freenews.netfront.net/ - complaints: n...(a)netfront.net ---
>
> > > > Any examples please
>
> > > Examples are OS dependent -- what OS?
>
> > > --
> > > +------------------------------------------------------------------------+
> > > | Gerald W. Lester                                                       |
> > > |"The man who fights for his ideals is the man who is alive." - Cervantes|
> > > +------------------------------------------------------------------------+
>
> > > --- news://freenews.netfront.net/ - complaints: n...(a)netfront.net ---
>
> > Thanks for your reply, it is for a windows application only windows
> > xp , vista and  windows 7. I have a tcl application , that I wrapped
> > using freewrap and is running as a service.  I send socket messages
> > from this service to a second tcl exe that has a system tray icon
> > using winico and I would like alert messages like skype . Your help is
> > much appriciated.
>
>

Thanks, tried to get osd working but the command would run but no
popup, maybe I am missing something.
From: Emmanuel Frecon on
<snip>

> Thanks, tried to get osd working but the command would run but no
> popup, maybe I am missing something.

I would suggest that you use the library called notifier instead (same
author, i.e. ... me) http://www.sics.se/~emmanuel/?Code:notifier

use it as follows:

Create the notifier with
set n [::notifier::new -animate up -keyframes {400 20000 1000}]
frame ${n}.top
pack ${n}.top ....
# Fill your notifier with something in other words.

To show your notifier:
$n show

To hide it at once
$n withdraw

For a number of projects I have modified the transparency of the
notifier using wm attributes.
From: dave on
On May 25, 8:52 pm, Emmanuel Frecon <efre...(a)gmail.com> wrote:
> <snip>
>
> > Thanks, tried to get osd working but the command would run but no
> > popup, maybe I am missing something.
>
> I would suggest that you use the library called notifier instead (same
> author, i.e. ... me)http://www.sics.se/~emmanuel/?Code:notifier
>
> use it as follows:
>
> Create the notifier with
> set n [::notifier::new -animate up -keyframes {400 20000 1000}]
> frame ${n}.top
> pack ${n}.top ....
> # Fill your notifier with something in other words.
>
> To show your notifier:
> $n show
>
> To hide it at once
> $n withdraw
>
> For a number of projects I have modified the transparency of the
> notifier using wm attributes.

Thanks for your help and your library, works like a charm
First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: using Expect under Windows
Next: Active TCL for Unix?