Re: Is "item n whose..." valid?
Re: Is "item n whose..." valid?
- Subject: Re: Is "item n whose..." valid?
- From: Emmanuel <email@hidden>
- Date: Mon, 3 Jun 2002 14:57:36 +0200
At 1:31 PM +0200 3/6/02, Chris Page wrote:
>
>
>> items 10 through 25 whose foo is bar
>
>
Hmm. Well, actually this is still an open question. Is this a legal
>
reference? The Finder returns an error:
(sorry if I state the obvious here)
As I understand it, this may be a legal reference if "item" is an element
of the application. Which is the case with Finder (though the "item" term
may be considered not the best choice.)
Now (as you know) it depends on the programmer whether an element will be
accessed by name, by index, and/or by a "whose" clause.
In the specific case, the Finder's "item" (OS 9) is said to be accessed
only by numeric index or name, so "items ... whose ..." should error.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.