• 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
How to retrieve items from list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to retrieve items from list?


  • Subject: How to retrieve items from list?
  • From: Michael Sidoric <email@hidden>
  • Date: Tue, 05 Dec 2000 15:08:19 -0600
  • Organization: Informedia

As a newbie user of Applescript, please excuse this
probably very basic question:

Assuming I have a list containing say, 15 items:

set itemList to {"one", "two", "three", "four", "five"...} -- and
so on to "fifteen"

How can I structure a repeat loop that will retrieve, incrementally,

left to right, one item with each repetition and make it the value
of
a variable (itemName)?

For instance repeat one would retrieve string "one", second repeat
would
retrieve string "two", and so on...

I bought Danny Goodman's book (GREAT!), and am reading and learning
as
fast as I can -- but mastering this one feat is harder than I
imagined.

Thanks in advance for your kind patience and (hopefully),
suggestions.

Regards from the AV FOLK!

Michael

--

INFORMEDIA.
2499 S Capital of Texas Highway
Austin, TX 78746-7753
t +1 512.328.3566
f +1 512.328.3655
email: email@hidden
pager: email@hidden
www.avfolk.com


  • Follow-Ups:
    • Re: How to retrieve items from list?
      • From: Paul Skinner <email@hidden>
    • Re: How to retrieve items from list?
      • From: Yosemite <email@hidden>
  • Prev by Date: more coerce list to rec
  • Next by Date: Re: How to retrieve items from list?
  • Previous by thread: Re: more coerce list to rec
  • Next by thread: Re: How to retrieve items from list?
  • Index(es):
    • Date
    • Thread