• 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: Timeout on panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timeout on panther


  • Subject: Re: Timeout on panther
  • From: Andrew Oliver <email@hidden>
  • Date: Tue, 31 May 2005 00:49:59 -0700

Title: Re: Timeout on panther
On 5/31/05 12:15 AM, "Adrien FRANCOIS" <email@hidden> wrote:

Hye, here is a simple script where the timeout doesn’t work (no wait).
Could you explain me what does not go, please ?
I want that the script wait 5 seconds before to print the following file.

‘with timeout’ does not do what you expect.

It tells AppleScript how long it should wait for a targetting application to return the result to any command you send it. For example, in your script you’re telling AppleScript that you’re prepared to wait 5 seconds for any of the enclosed commands to execute. If any of them take longer the script stops.

If you want to add a pause to your script use the ‘delay’ statement:

 delay 5

Andrew
:)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re : Timeout on panther
      • From: Adrien FRANCOIS <email@hidden>
References: 
 >Timeout on panther (From: Adrien FRANCOIS <email@hidden>)

  • Prev by Date: Timeout on panther
  • Next by Date: Re : Timeout on panther
  • Previous by thread: Timeout on panther
  • Next by thread: Re : Timeout on panther
  • Index(es):
    • Date
    • Thread