• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: delay doesn't work when applet is not frontmost
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: delay doesn't work when applet is not frontmost
      • From: Shane Stanley <email@hidden>
References: 
 >delay doesn't work when applet is not frontmost (From: "Stockly, Ed" <email@hidden>)
 >Re: delay doesn't work when applet is not frontmost (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: delay doesn't work when applet is not frontmost
  • Next by Date: Re: delay doesn't work when applet is not frontmost
  • Previous by thread: Re: delay doesn't work when applet is not frontmost
  • Next by thread: Re: delay doesn't work when applet is not frontmost
  • Index(es):
    • Date
    • Thread