Re: Display Alert Giving Up After Broken?
Re: Display Alert Giving Up After Broken?
- Subject: Re: Display Alert Giving Up After Broken?
- From: Todd Blume <email@hidden>
- Date: Mon, 18 Jul 2005 16:21:43 -1000
At 11:09 AM +1000 7/19/05, Matthew Smith wrote:
on 19/07/2005 10:59, Todd Blume at email@hidden wrote:
I'm trying to use "display alert" with the optional "giving up after"
parameter. If the alert gives up then I want to re-issue the alert for a
certain number of tries, so I've put the "display alert" in a repeat while
loop to manage the retries.
I'm a bit puzzled why you would want to redisplay an alert if it gave up.
Why not just extend the giving up after time?
It's a peculiarity of my particular purpose. It's a nag reminder
thing that primarily uses a spoken message. I want to repeat the
verbal reminder at intervals, and I want to log the reminders and
responses periodically. Also the retries always pop up on top this
way.
Since the alert/dialog blocks the thread it makes it harder to handle
the other aspects. I'm sure that a multi-threaded type solution is
possible that periodically pops the alert on top, does the logging
etc. - but this seemed like a simple and expedient way to do what
needs to be done. A dialog will do.
And it's always to get another bug on the radar ;-)
Aloha,
--
Todd Blume
Tiger Island Software
http://www.TigerIsland.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden