• 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: applying a method to each item of a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applying a method to each item of a list


  • Subject: Re: applying a method to each item of a list
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 21 Feb 2001 21:23:30 +1100

On 20/2/01 7:36 PM +1000, John Kawakami, email@hidden, wrote:

> What's the best way to apply some kind of method to each item of a list.
>
> I want to do something like this:
>
> tell application "Finder"
> get the capcities of each item of ( disks of the desktop )
> end tell

Close. Use:

tell application "Finder"
capacity of every disk
end tell

--
Shane Stanley, email@hidden


References: 
 >applying a method to each item of a list (From: John Kawakami <email@hidden>)

  • Prev by Date: Re: applescript-users digest, Vol 2 #406 - 2 msgs
  • Next by Date: Re: Fun with coercing to string
  • Previous by thread: applying a method to each item of a list
  • Next by thread: AW: Identifying ejectable disks
  • Index(es):
    • Date
    • Thread