Re: Thunderbird sounds -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob Goodwin wrote:
<snip>

>> using 'ls' then awk to extract size to a&env, do a compare to current
>> and play what ever to notify.

above should have been 'a $env', an 'env' string. that is, you would
use script to set 2 'env' strings, ie, '$old-size' and '$new-size'.
then in script, 'awk' would set value of '$new-size' and compare to
'$old-size'. if larger, play sound. at end, set '$old-size' to
'$new-size'.

it has been too long from last time using awk in scripts that it would
be better if someone else gave you an example. if none do, i will try,
then others can correct my errors.


> Not sure I understand the logic there. Folder gets bigger so it must
> contain new messages, I guess?

true. cron could be set to run at an interval equivalent to interval of
mail check.


> My problem is that I filter e-mail messages into at least ten
> different directories. One is for Verizon Text messages, 95% of
> those are from my daughter and son-in-law during the daytime and
<snip>

if you use thunderbird to filter email from daughter and son, or who
ever else you wanted an alert for, to their own folder, you could run
cron ls/awk script on those folder files to check size increase.

or you can use a prefilter to watch 'from:' in emails and let it run
a script to play sound to notify.


i tend to be terse, so i hope i have not confused you more.


-- 

peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux