• 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: Scripting MegaPhone {was Re: not finding "help" helpful}
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting MegaPhone {was Re: not finding "help" helpful}


  • Subject: Re: Scripting MegaPhone {was Re: not finding "help" helpful}
  • From: Chris Nebel <email@hidden>
  • Date: Thu, 29 Nov 2001 19:42:05 -0800
  • Organization: Apple Computer, Inc.

vectormation wrote:

> -- pause script to complete dialing
> delay 7
> -- remember AppleScript is issuing commands to apps and does not
> -- wait for them to complete before giving the next command

This is a popular belief, but is not generally true. AppleScript waits
until the application returns a result from the command [1]. If the
application returns before it's actually done doing whatever you asked it
to, there's nothing AppleScript can do about that. It's considered bad form
to write an application this way, but some people do it anyway [2].


--Chris Nebel
AppleScript Engineering

[1] unless you use "ignoring application responses", in which case it
doesn't wait.
[2] In their defense, sometimes they don't have a choice.


References: 
 >Scripting MegaPhone {was Re: not finding "help" helpful} (From: vectormation <email@hidden>)

  • Prev by Date: Excel v.x
  • Next by Date: Re: Excel v.x
  • Previous by thread: Re: Scripting MegaPhone {was Re: not finding "help" helpful}
  • Next by thread: Identifying installed apps
  • Index(es):
    • Date
    • Thread