[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ireminder
- To: Development Discussions <developer at arabeyes dot org>
- Subject: Re: ireminder
- From: Nadim Shaikli <shaikli at yahoo dot com>
- Date: Fri, 6 Oct 2006 17:36:25 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=t10p8KmbHSIMERCghDdRQFdYIfBDx3XBNSbwNjSGfNx/P9fKQjIQ+Zxpa1WkvWT1qoxA+ZBlKHAfS/26S+0Vq9qPqeRyJzsU2YIwk5XbdR4Dcrv2+8zUqDR96d3A1DNJ4hJ1qAurTVrHMUeT1ttJMBJTkuUJK5YMDWU7MzY1Z0o= ;
--- Thamer Mahmoud <thamer at newkuwait dot org> wrote:
> This would allow a user to be reminded in any form he wants. Whether
> it's an azan being played, or a message box, or the background going
> red, etc.
>
> To elaborate a bit, I'm looking for a solution that would make all the
> following commands possible:
>
> ireminder -exec "mplayer Azan.mp3"
>
> Or
>
> ireminder -exec "/bin/echo now is the time of %s"
>
> Or
>
> ireminder -exec "xmessage 'Time for %s.'"
>
> Or any other command that the user chooses for a reminder. If a user
> includes an '%s' in the -exec argument, that '%s' would be replaced by
> the prayer name before running the command. if not, just execute the
> command. Maybe the time of the prayer should also have it's own
> variable, like '%t' for example.
This is actually very simple to do and I'll take a crack at it in the
next few days. What I had envisioned when ireminder was created was
a '-gui' feature (using Tk) that would pop a reminder dialog Y-minutes
prior to prayer or similar (the '-exec' could fork an external agent
to do that as well). The -gui shouldn't be difficult to do now that
Tk is a full-fledged perl library ('use Tk'). I'll add that on my list
when I get some time...
Thamer, while on the topic - should we start talking about a new release
of ITL (lib and itools) since there have been various changes since its
last release.
Salam.
- Nadim
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com