• 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: don't say "repeat with x in every"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: don't say "repeat with x in every"


  • Subject: Re: don't say "repeat with x in every"
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 09 Jul 2005 07:20:57 -0700

On Mon, 4 Jul 2005 21:27:55 +0100, has <email@hidden> said:

>script obj
>    on count x each y
>        return 10
>    end count
>end script
>
>set lst to {}
>repeat with i in obj
>    set end of lst to i
>end repeat
>lst --> {item 1 of «script obj», item 2 of «script obj», item 3 of «script
obj»,..., item 10 of «script obj»}

[snip]

> In fact, the event it's actually sending here is:
>
>    count every folder each item

Those two nuggets were worth the whole price of admission - thanks very
much. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
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

  • Prev by Date: Re: AppleScript error, overflow.
  • Next by Date: How do you get iCal to run an Applescript
  • Previous by thread: Re: don't say "repeat with x in every"
  • Next by thread: Re: Address Book comparison
  • Index(es):
    • Date
    • Thread