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: "Stockly, Ed" <email@hidden>
- Date: Thu, 05 Mar 2015 17:43:15 +0000
- Thread-topic: delay doesn't work when applet is not frontmost
Thanks, Shane,
I'm wondering why not just
on delay delayTime
set sleepScript to "sleep " & delayTime as text
do shell script sleepScript
end delay
Seems to work, does sleep interfere with other processes or something?
ES
>
>A workaround is to add this to your scripts:
>
>on delay delayTime
> set theRepeat to delayTime * 10 div 1
> repeat theRepeat times
> do shell script "sleep 0.1"
> end repeat
>end delay
_______________________________________________
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