• 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: Avoiding arbitrary delay functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoiding arbitrary delay functions


  • Subject: Re: Avoiding arbitrary delay functions
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 18 Mar 2015 09:25:08 +1100

On 18 Mar 2015, at 6:00 am, Alex Kelley <email@hidden> wrote:
>
> I understand that some methods, especially System Events are non-blocking in AppleScript. But I hesitate to sprinkle arbitrary delay() all over my code.  Is there an approach
> for determining when a System Event has completed, and that its safe to proceed to the next instruction?

If you're referring to the GUI-related commands, alas no.

--
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


References: 
 >Avoiding arbitrary delay functions (From: Alex Kelley <email@hidden>)

  • Prev by Date: Re: A question on technique
  • Next by Date: Re: A question on technique
  • Previous by thread: Avoiding arbitrary delay functions
  • Next by thread: Timeout Not Working As Expected
  • Index(es):
    • Date
    • Thread