[X-Unix] Calling Applescript alarm from script

Stroller macmonster at myrealbox.com
Fri Jan 25 14:13:10 PST 2008


On 25 Jan 2008, at 15:18, TjL wrote:
> ... I've written a script which will check the school closings
> webpage for my kid's school and email me if it finds something.
>
> That part is done.
>
> However, what I would really like to do is have it pop up some kind of
> alert window on my Mac with some kind of sound which keeps repeating
> until I acknowledge the window.
>
> Anyone have any ideas how to do that?  I'm assuming it might be
> possible in Applescript, but I really don't know anything about AS, so
> any pointers would be welcome.

Set a rule in Mail.app, so that if "From:" equals "My Notify Script  
<script at localhost>" then play sound "klaxxon".

Stroller.



More information about the X-Unix mailing list