How to retrieve items from list?
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