• 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: Don't understand timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Don't understand timeout


  • Subject: Re: Don't understand timeout
  • From: Axel Luttgens <email@hidden>
  • Date: Thu, 18 Aug 2011 22:55:54 +0200

Le 18 août 2011 à 20:14, Robert Poland a écrit :

> Alex,
>
> Maybe I'm not following you.
>
> The problem I'm having is that the action does not stop after 2 seconds.

Hello Robert,

The "with timeout" block allows to define the maximum delay AppleScript will wait for the reply returned from a command *sent to an application*.

The default delay is two minutes.

Should that delay be exceeded, AppleScript raises an error, but of course doesn't have the ability to interrupt the action undertaken by the targeted application.

On the other hand, if the error isn't c by an "on error" block, the script itself will halt.

HTH,
Axel


 _______________________________________________
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: 
 >Re: Don't understand timeout (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Still don't understand timeout
  • Next by Date: Re: Don't understand timeout
  • Previous by thread: Re: Don't understand timeout
  • Next by thread: Re: Don't understand timeout
  • Index(es):
    • Date
    • Thread