Re: Next repeat?
Re: Next repeat?
- Subject: Re: Next repeat?
- From: Emmanuel LEVY <email@hidden>
- Date: Tue, 17 May 2011 17:59:56 +0200
Yes.
The usual workarounds are:
repeat with ... -- [ main repeat ]
repeat 1 times -- [ trick repeat ]
[ the script ]
now: to do a next (main) repeat, do: exit repeat inside the trick repeat
end repeat
end repeat
Or :
repeat with ... -- [ main repeat ]
try
[ the script ]
now: to do a next (main) repeat, do: error "next repeat"
on error "next repeat" -- this will trap only our custom "next repeat"
error, not any "true" error
end try
end repeat
Best,
Emmanuel
On May 17, 2011, at 5:29 PM, Alex Zavatone wrote:
Am I correct in assuming that there is no "next repeat" command in AS?
TIA,
- Alex Zavatone
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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: | |
| >Next repeat? (From: Alex Zavatone <email@hidden>) |