Re: delay doesn't work when applet is not frontmost
Re: delay doesn't work when applet is not frontmost
- Subject: Re: delay doesn't work when applet is not frontmost
- From: Shane Stanley <email@hidden>
- Date: Fri, 06 Mar 2015 10:14:33 +1100
On 6 Mar 2015, at 10:01 am, Stockly, Ed <email@hidden> wrote:
>
> I have a script that looks for files to appear on a remote FTP site. If a
> file doesn't show up when first expected it delays 1 min, then tries
> again. The files are supposed to arrive in two batches, and I use the idle
> handler to tell the script when to start looking for each batch.
Can't you just use the idle handler, instead of a delay/sleep command?
> I have another script that needs a delay to give the user a chance to see
> what's going on and cancel operation or continue.
Perhaps a dialog with a giving up after value?
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden