Re: Still don't understand timeout
Re: Still don't understand timeout
- Subject: Re: Still don't understand timeout
- From: Robert Poland <email@hidden>
- Date: Thu, 18 Aug 2011 14:54:02 -0600
If I understand right "with timeout" doesn't end and stop the block. Is there something that will do that?
On Aug 18, 2011, at 2:46 PM, Alex Zavatone wrote: I think not, because the action is progressing.
Prepping for a meeting. Will try more later. - Zav
No matter how much you wish it were true, tequila is not in its own food group. On Aug 18, 2011, at 01:38 PM, Robert Poland < email@hidden> wrote: Hi,
Seems to me that the following script should timeout and quit but it doesn't
try with timeout of 2 seconds tell application "Finder" set x to 1 repeat while x < 5 delay 1 set x to x + 1 end repeat end tell end timeout on error log "repeat error" end try beep
Robert Poland - Fort Collins, CO
Robert Poland - Fort Collins, CO
|
_______________________________________________
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