Re: List Problem (I think) Disguised as a GraphicConverter Problem
Re: List Problem (I think) Disguised as a GraphicConverter Problem
- Subject: Re: List Problem (I think) Disguised as a GraphicConverter Problem
- From: "Michelle Steiner" <email@hidden>
- Date: Wed, 9 Mar 2005 02:13:00 -0000 (GMT)
- Importance: Normal
On Wed, March 9, 2005 1:10 am, Jonathan Levi, M.D. said:
> I have two open GC windows, "a.pict (RGB)" and
> "b.pict (RGB)", a list gcWindowNames consisting
> of these two window names, and two ways to get
> them sequentially, "repeat with i from 1 to
> (count items of gcWindowNames)" and "repeat with
> wname in items of gcWindowNames". The first way
> works, the second doesn't. Is there a fundamental
> property about iterating through a list's items
> that I'm missing? --Many thanks, Jonathan
Sometimes, you have to use "contents <variable>" I still don't understand
what the reason is, but I know that if that form of iteration doesn't
work, using content almost always does.
-- Michelle
_______________________________________________
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