Re: Is "item n whose..." valid?
Re: Is "item n whose..." valid?
- Subject: Re: Is "item n whose..." valid?
- From: Christopher Nebel <email@hidden>
- Date: Mon, 3 Jun 2002 09:57:20 -0700
On Monday, June 3, 2002, at 04:31 AM, Chris Page wrote:
On Monday, June 3, 2002, at 04:16 AM, Chris Page wrote:
So
items 10 through 25 whose foo is bar
Tests for matching items, then returns items 10 through 25 of the
matches.
Yes, that's the correct interpretation. Ideally, the application
doesn't get every single match first and then throw away all but items
10 through 25, but that's an implementation detail.
Hmm. Well, actually this is still an open question. Is this a legal
reference? The Finder returns an error:
tell application "Finder"
items 1 thru 2 whose name is not ""
end tell
Looks perfectly legal to me, and Cocoa Scripting handles such constructs
just fine. Sounds like a bug in the Finder -- go ahead and file one.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.