• 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: Alex Zavatone <email@hidden>
  • Date: Thu, 05 Mar 2015 10:27:13 -0500

I think that we used shell sleep instead of delay, because in compiled AppleScripts, delay would use 100% of one core, but that might have been fixed in the 5+ years that I tested that.

Is it still common practice to use shell sleep instead of delay?

Sent from my iPad. Please pardon typos.

On Mar 4, 2015, at 7:06 PM, "Stockly, Ed" <email@hidden> wrote:

> Has anyone else noticed this in Yosemite (or elsewhere)
>
> If I save this script as an applet, the delay 20 command seems to be
> ignored as soon as the script is no longer frontmost.
>
> If you remove the finder activate command, the delay works, but if you
> bring another app to the front, it stops delaying and goes on with the
> script.
>
> Can anyone repeat see this? Is it new?
>
> ES
>
> repeat with x from 1 to 20
> tell me to activate
> display dialog x giving up after 3
> tell application "Finder" to activate
> delay 20
> end repeat
>
>
>
>
>
>
>
> _______________________________________________
> 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

 _______________________________________________
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


References: 
 >delay doesn't work when applet is not frontmost (From: "Stockly, Ed" <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