Re: How to do a goto with Applescript?
Re: How to do a goto with Applescript?
- Subject: Re: How to do a goto with Applescript?
- From: Robert Poland <email@hidden>
- Date: Mon, 3 Jan 2011 08:21:28 -0700
Paul,
Your suggestion "repeat one times" got me curious;
I ran it in Smile and Applescript Editor and got the error. "one" not defined.
Tried "repeat 1 times" and that works.
Tried to "Find Definition" of "repeat", got no answer.
Tried looking up "repeat" in the dictionary and didn't find it. It does exist in the AppleScriptLanguageGuide.
Comments welcome?
On Jan 2, 2011, at 11:20 PM, Paul Berkowitz wrote:
repeat one times
if x=1 then
do something
exit repeat
end if
rest of code here
end repeat
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