Re : Timeout on panther
Re : Timeout on panther
- Subject: Re : Timeout on panther
- From: Adrien FRANCOIS <email@hidden>
- Date: Tue, 31 May 2005 12:21:55 +0200
Title: Re : Timeout on panther
Thank you for your answer.
My script works fine now.
Bye.
--
Adrien FRANCOIS
Architecture et système
Direction des systèmes d’information
Centre Hospitalier de Rouffach
27, rue du 4ème RSM
F- 68250 ROUFFACH
Tel : +33 (0)3 89 78 71 82
Fax : +33 (0)3 89 78 74 35
Courriel : email@hidden
Web : http://www.ch-rouffach.fr
De : Andrew Oliver <email@hidden>
Date : Tue, 31 May 2005 00:49:59 -0700
À : Adrien FRANCOIS <email@hidden>, <email@hidden>
Objet : 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