Re: Timeout on panther
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