• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to do a goto with Applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to do a goto with Applescript?
      • From: Paul Berkowitz <email@hidden>
    • Re: How to do a goto with Applescript?
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: How to do a goto with Applescript? (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: How to do a goto with Applescript?
  • Next by Date: Re: How to do a goto with Applescript?
  • Previous by thread: Re: How to do a goto with Applescript?
  • Next by thread: Re: How to do a goto with Applescript?
  • Index(es):
    • Date
    • Thread